Commit 45feea4c authored by James Berry's avatar James Berry
Browse files

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
Showing with 2 additions and 0 deletions
...@@ -696,6 +696,8 @@ void vp8_encode_frame(VP8_COMP *cpi) ...@@ -696,6 +696,8 @@ void vp8_encode_frame(VP8_COMP *cpi)
cpi->last_mb_distortion = 0; cpi->last_mb_distortion = 0;
#endif #endif
xd->mode_info_context = cm->mi;
vp8_zero(cpi->MVcount); vp8_zero(cpi->MVcount);
vp8_zero(cpi->coef_counts); vp8_zero(cpi->coef_counts);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment