Allow target autodetection to work when cross-compiling.
[profile/ivi/libvpx.git] / vpxenc.c
index 059cdd5..d32b21b 100644 (file)
--- 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;
 }