[FFmpeg-cvslog] ffmpeg: initialize got_output, this silences a compiler warning from icc

Michael Niedermayer git at videolan.org
Mon Apr 1 20:52:40 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  1 20:40:09 2013 +0200| [f7a02d5d694bcef993b0229c9e57f22421fed637] | committer: Michael Niedermayer

ffmpeg: initialize got_output, this silences a compiler warning from icc

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7a02d5d694bcef993b0229c9e57f22421fed637
---

 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index e17305c..fac491b 100644
--- 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) {



More information about the ffmpeg-cvslog mailing list