ffmpeg: initialize got_output, this silences a compiler warning from icc
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Apr 2013 18:40:09 +0000 (20:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Apr 2013 18:47:48 +0000 (20:47 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index e17305c..fac491b 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1776,7 +1776,7 @@ static int transcode_subtitles(InputStream *ist, AVPacket *pkt, int *got_output)
 static int output_packet(InputStream *ist, const AVPacket *pkt)
 {
     int ret = 0, i;
-    int got_output;
+    int got_output = 0;
 
     AVPacket avpkt;
     if (!ist->saw_first_ts) {