projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7798aef
)
fix a crash in 2-pass encoding with test-decode on
author
Yaowu Xu
<yaowu@google.com>
Fri, 9 Nov 2012 00:22:54 +0000
(16:22 -0800)
committer
Yaowu Xu
<yaowu@google.com>
Fri, 9 Nov 2012 00:22:54 +0000
(16:22 -0800)
only call decoding when encoder produce compressed data
Change-Id: I1840762246afaaad76db6c6d29032ad15aa38afd
vpxenc.c
patch
|
blob
|
history
diff --git
a/vpxenc.c
b/vpxenc.c
index
6688231
..
33dd805
100644
(file)
--- a/
vpxenc.c
+++ b/
vpxenc.c
@@
-2418,7
+2418,7
@@
int main(int argc, const char **argv_) {
got_data = 0;
FOREACH_STREAM(get_cx_data(stream, &global, &got_data));
- if (global.test_decode)
+ if (g
ot_data && g
lobal.test_decode)
FOREACH_STREAM(test_decode(stream, frames_in));
}