Skip to content
Snippets Groups Projects
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
parent af49c112
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment