summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2013-06-12 13:46:47 -0400
committerScott LaVarnway <slavarnway@google.com>2013-06-12 13:46:47 -0400
commit9dead02b094f7d9ab49372c2a2aaf8b20539e39d (patch)
treef1231884e13448efb1477dff87fbc2670d6e410a /vp9
parent15f9077ee2a6632beac2978e2574b2fc223613b1 (diff)
downloadlibvpx-9dead02b094f7d9ab49372c2a2aaf8b20539e39d.tar
libvpx-9dead02b094f7d9ab49372c2a2aaf8b20539e39d.tar.gz
libvpx-9dead02b094f7d9ab49372c2a2aaf8b20539e39d.tar.bz2
libvpx-9dead02b094f7d9ab49372c2a2aaf8b20539e39d.zip
Quick fix to stop vpxdec infinite loop
vpxdec stays in a loop when decoding vp9. This patch is a quick fix to stop the loop when all data has been decoded. Eventually we should move the vp9_get_raw_frame() call into vp8_get_frame(). Change-Id: I3f97b6b4e1fe9ba69f746a29fc54c3304956f661
Diffstat (limited to 'vp9')
-rw-r--r--vp9/vp9_dx_iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c
index c240a9e61..ea6946bd9 100644
--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -496,6 +496,7 @@ static vpx_image_t *vp8_get_frame(vpx_codec_alg_priv_t *ctx,
*iter = img;
}
}
+ ctx->img_avail = 0;
return img;
}