shithub: libvpx

Download patch

ref: 414b5eaedeb51fc120c43e7bee83f4a813c0ae36
parent: 3f252e30e4faa6609e651210ea50941f08f3b7be
author: Adrian Grange <agrange@google.com>
date: Fri Apr 27 07:06:14 EDT 2012

Reset output frames counter for second pass

The frame counter was not being reset at the start of
the first pass.

Change-Id: I2ef7c6edf027e43f83f470c52cbcf95bf152e430

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2088,6 +2088,7 @@
 
     stream->cx_time = 0;
     stream->nbytes = 0;
+    stream->frames_out = 0;
 }