changeset 2234:2bc002540a9b libavformat

kill uninitialised variable warning in mp3_read_probe()
author mru
date Sun, 08 Jul 2007 13:42:46 +0000
parents 886efa933499
children 18074bcfb54d
files mp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp3.c	Sun Jul 08 13:42:44 2007 +0000
+++ b/mp3.c	Sun Jul 08 13:42:46 2007 +0000
@@ -391,7 +391,7 @@
 
 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;