shithub: libvpx

Download patch

ref: 9dead02b094f7d9ab49372c2a2aaf8b20539e39d
parent: 15f9077ee2a6632beac2978e2574b2fc223613b1
author: Scott LaVarnway <slavarnway@google.com>
date: Wed Jun 12 09:46:47 EDT 2013

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

--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -496,6 +496,7 @@
       *iter = img;
     }
   }
+  ctx->img_avail = 0;
 
   return img;
 }
--