shithub: libvpx

Download patch

ref: faed00d84480b2a2a64008d2bc5e43d09f48bf03
parent: 60b36abf854f906577ed500e9895b4a239f56794
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
@@ -2128,6 +2128,7 @@
 
     stream->cx_time = 0;
     stream->nbytes = 0;
+    stream->frames_out = 0;
 }