shithub: libvpx

Download patch

ref: f744613be92de9a788f9ffb394aaca2a02d1b414
parent: 345ff1a2f224db82d6f2e2bea638bb48aebf1530
author: hui su <[email protected]>
date: Mon Jul 20 07:12:05 EDT 2015

Fix uninitialized value warning

Change-Id: Ib919a8ec2ec66d460d2f8a26d72aabc09dcbbd72

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4307,7 +4307,7 @@
 #if CONFIG_INTERNAL_STATS
 
   if (oxcf->pass != 1) {
-    double samples;
+    double samples = 0.0;
     cpi->bytes += (int)(*size);
 
     if (cm->show_frame) {