Commit f7a86585 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "vp10_alloc_context_buffers: clear cm->mi* on failure" into nextgenv2

parents 003dff69 e0ab852f
......@@ -151,6 +151,8 @@ int vp10_alloc_context_buffers(VP10_COMMON *cm, int width, int height) {
return 0;
fail:
// clear the mi_* values to force a realloc on resync
vp10_set_mb_mi(cm, 0, 0);
vp10_free_context_buffers(cm);
return 1;
}
......
Markdown is supported
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