kill uninitialised variable warning in mp3_read_probe()
authorMåns Rullgård <mans@mansr.com>
Sun, 8 Jul 2007 13:42:46 +0000 (13:42 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 8 Jul 2007 13:42:46 +0000 (13:42 +0000)
Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mp3.c

index 8d63f92..2f3fba8 100644 (file)
@@ -391,7 +391,7 @@ static void id3v1_create_tag(AVFormatContext *s, uint8_t *buf)
 
 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;