Fix segv without --enable-error-concealment
authorJohn Koleszar <jkoleszar@google.com>
Thu, 19 May 2011 17:57:45 +0000 (13:57 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 19 May 2011 17:57:45 +0000 (13:57 -0400)
Missed wrapping one function call in #if CONFIG_ERROR_CONCEALMENT.

Change-Id: I5746b1e6e4531670dbed1130467331fe309bdcae

vp8/common/alloccommon.c

index c2e5bfd..4d3744e 100644 (file)
@@ -140,7 +140,9 @@ int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height)
     }
 
     update_mode_info_border(oci->mi, oci->mb_rows, oci->mb_cols);
+#if CONFIG_ERROR_CONCEALMENT
     update_mode_info_border(oci->prev_mi, oci->mb_rows, oci->mb_cols);
+#endif
 
     return 0;
 }