[FFmpeg-cvslog] r9521 - trunk/libavformat/raw.c

mru subversion
Sat Jul 7 15:46:28 CEST 2007


Author: mru
Date: Sat Jul  7 15:46:28 2007
New Revision: 9521

Log:
kill uninitialised variable warning in ac3_probe()


Modified:
   trunk/libavformat/raw.c

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	(original)
+++ trunk/libavformat/raw.c	Sat Jul  7 15:46:28 2007
@@ -412,7 +412,7 @@ static int h261_probe(AVProbeData *p)
 
 static int ac3_probe(AVProbeData *p)
 {
-    int max_frames, first_frames, frames;
+    int max_frames, first_frames = 0, frames;
     uint8_t *buf, *buf2, *end;
     AC3HeaderInfo hdr;
 




More information about the ffmpeg-cvslog mailing list