summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-08-28 18:36:31 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-08-28 18:36:31 -0700
commit458d0114f9923e376b84558afb8aa4582efda83f (patch)
treee7743a4ef5224f6097025bc87b19ab4411a755f7 /vp9
parent8e78a0d36527fc228cee0bfc534f6acc2f28bfcb (diff)
parent4f27202df70ab870b3af3140b312df6cb55db728 (diff)
downloadlibvpx-458d0114f9923e376b84558afb8aa4582efda83f.tar
libvpx-458d0114f9923e376b84558afb8aa4582efda83f.tar.gz
libvpx-458d0114f9923e376b84558afb8aa4582efda83f.tar.bz2
libvpx-458d0114f9923e376b84558afb8aa4582efda83f.zip
Merge "vp9: fix crash in mt loopfilter w/corrupt file"
Diffstat (limited to 'vp9')
-rw-r--r--vp9/decoder/vp9_dthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_dthread.c b/vp9/decoder/vp9_dthread.c
index 5dda49a0f..cf5cc8cf8 100644
--- a/vp9/decoder/vp9_dthread.c
+++ b/vp9/decoder/vp9_dthread.c
@@ -147,7 +147,7 @@ void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame,
// Allocate memory used in thread synchronization.
// This always needs to be done even if frame_filter_level is 0.
- if (!cm->current_video_frame || cm->last_height != cm->height) {
+ if (!lf_sync->sync_range || cm->last_height != cm->height) {
if (cm->last_height != cm->height) {
const int aligned_last_height =
ALIGN_POWER_OF_TWO(cm->last_height, MI_SIZE_LOG2);