summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvpx/vp9/common/vp9_alloccommon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvpx/vp9/common/vp9_alloccommon.c b/libvpx/vp9/common/vp9_alloccommon.c
index ac417b6..ed337a0 100644
--- a/libvpx/vp9/common/vp9_alloccommon.c
+++ b/libvpx/vp9/common/vp9_alloccommon.c
@@ -152,6 +152,7 @@ int vp9_alloc_context_buffers(VP9_COMMON *cm, int width, int height) {
return 0;
fail:
+ vp9_set_mb_mi(cm, 0, 0);
vp9_free_context_buffers(cm);
return 1;
}