summaryrefslogtreecommitdiff
path: root/vp8/common/alloccommon.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2011-05-19 13:57:45 -0400
committerJohn Koleszar <jkoleszar@google.com>2011-05-19 13:57:45 -0400
commit7def9022616d56bdf8436eacb20ee5713519ba9d (patch)
tree0b7f33c3da66594bb5010a1911bed1d003a72233 /vp8/common/alloccommon.c
parentd04f852368dcfb9432d7cef9917666a9bf722ee2 (diff)
downloadlibvpx-7def9022616d56bdf8436eacb20ee5713519ba9d.tar
libvpx-7def9022616d56bdf8436eacb20ee5713519ba9d.tar.gz
libvpx-7def9022616d56bdf8436eacb20ee5713519ba9d.tar.bz2
libvpx-7def9022616d56bdf8436eacb20ee5713519ba9d.zip
Fix segv without --enable-error-concealment
Missed wrapping one function call in #if CONFIG_ERROR_CONCEALMENT. Change-Id: I5746b1e6e4531670dbed1130467331fe309bdcae
Diffstat (limited to 'vp8/common/alloccommon.c')
-rw-r--r--vp8/common/alloccommon.c2
1 files changed, 2 insertions, 0 deletions
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;
}