From: John Koleszar Date: Thu, 19 May 2011 17:57:45 +0000 (-0400) Subject: Fix segv without --enable-error-concealment X-Git-Tag: v0.9.7~150^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7def9022616d56bdf8436eacb20ee5713519ba9d;p=libvpx Fix segv without --enable-error-concealment Missed wrapping one function call in #if CONFIG_ERROR_CONCEALMENT. Change-Id: I5746b1e6e4531670dbed1130467331fe309bdcae --- diff --git a/vp8/common/alloccommon.c b/vp8/common/alloccommon.c index c2e5bfddf..4d3744ebf 100644 --- a/vp8/common/alloccommon.c +++ b/vp8/common/alloccommon.c @@ -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; }