projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af49c11
)
bug fix mode_info_context not initialized for error-resilient
author
James Berry
<jamesberry@google.com>
Thu, 9 Jun 2011 16:46:31 +0000
(12:46 -0400)
committer
James Berry
<jamesberry@google.com>
Thu, 9 Jun 2011 16:46:31 +0000
(12:46 -0400)
uninitialized xd->mode_info_context would crash
vpxenc for --error-resilient=1.
Change-Id: I31849e40281e3d65ab63257cfec5e93398997f0b
vp8/encoder/encodeframe.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/encodeframe.c
b/vp8/encoder/encodeframe.c
index
e694403
..
6a4995e
100644
(file)
--- a/
vp8/encoder/encodeframe.c
+++ b/
vp8/encoder/encodeframe.c
@@
-696,6
+696,8
@@
void vp8_encode_frame(VP8_COMP *cpi)
cpi->last_mb_distortion = 0;
#endif
+ xd->mode_info_context = cm->mi;
+
vp8_zero(cpi->MVcount);
vp8_zero(cpi->coef_counts);