[FFmpeg-cvslog] r9540 - trunk/libavformat/mp3.c

mru subversion
Sun Jul 8 15:42:46 CEST 2007


Author: mru
Date: Sun Jul  8 15:42:46 2007
New Revision: 9540

Log:
kill uninitialised variable warning in mp3_read_probe()


Modified:
   trunk/libavformat/mp3.c

Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c	(original)
+++ trunk/libavformat/mp3.c	Sun Jul  8 15:42:46 2007
@@ -391,7 +391,7 @@ static void id3v1_create_tag(AVFormatCon
 
 static int mp3_read_probe(AVProbeData *p)
 {
-    int max_frames, first_frames;
+    int max_frames, first_frames = 0;
     int fsize, frames, sample_rate;
     uint32_t header;
     uint8_t *buf, *buf2, *end;




More information about the ffmpeg-cvslog mailing list