ref: 45feea4cf027536ccc4779ccf430913e6163fe48
parent: af49c11250a2f49bc0a9972bae7e78787f396cc6
author: James Berry <jamesberry@google.com>
date: Thu Jun 9 08:46:31 EDT 2011
bug fix mode_info_context not initialized for error-resilient uninitialized xd->mode_info_context would crash vpxenc for --error-resilient=1. Change-Id: I31849e40281e3d65ab63257cfec5e93398997f0b
--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -696,6 +696,8 @@
cpi->last_mb_distortion = 0;
#endif
+ xd->mode_info_context = cm->mi;
+
vp8_zero(cpi->MVcount);
vp8_zero(cpi->coef_counts);
--
⑨