shithub: libvpx

Download patch

ref: 7def9022616d56bdf8436eacb20ee5713519ba9d
parent: d04f852368dcfb9432d7cef9917666a9bf722ee2
author: John Koleszar <jkoleszar@google.com>
date: Thu May 19 09:57:45 EDT 2011

Fix segv without --enable-error-concealment

Missed wrapping one function call in #if CONFIG_ERROR_CONCEALMENT.

Change-Id: I5746b1e6e4531670dbed1130467331fe309bdcae

--- a/vp8/common/alloccommon.c
+++ b/vp8/common/alloccommon.c
@@ -140,7 +140,9 @@
     }
 
     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;
 }
--