From faed00d84480b2a2a64008d2bc5e43d09f48bf03 Mon Sep 17 00:00:00 2001
From: Adrian Grange <agrange@google.com>
Date: Fri, 27 Apr 2012 11:06:14 -0700
Subject: [PATCH] Reset output frames counter for second pass

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

Change-Id: I2ef7c6edf027e43f83f470c52cbcf95bf152e430
---
 vpxenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vpxenc.c b/vpxenc.c
index 059cdd5965..d32b21b536 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2128,6 +2128,7 @@ static void setup_pass(struct stream_state  *stream,
 
     stream->cx_time = 0;
     stream->nbytes = 0;
+    stream->frames_out = 0;
 }
 
 
-- 
GitLab