shithub: libvpx

Download patch

ref: 5370c6f1a59cdf06be3c06a69075f991b5f08b60
parent: 8a192ce7efa461ff15886e60a8e9752a6bc2e105
author: Johann <johannkoenig@google.com>
date: Wed Mar 18 07:01:28 EDT 2015

Initialize "corrupted" to zero

Because the call to vpx_codec_control at line 928 is now guarded by
!frame_parallel, 'corrupted' may not be set.

Change-Id: Id166bd8a8cdb5e5120fca1640011a3545f6e178a

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -875,7 +875,7 @@
     vpx_codec_iter_t  iter = NULL;
     vpx_image_t    *img;
     struct vpx_usec_timer timer;
-    int                   corrupted;
+    int                   corrupted = 0;
 
     frame_avail = 0;
     if (!stop_after || frame_in < stop_after) {