aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-08 13:42:46 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-08 13:42:46 +0000
commitea7599ba8bbbf38ce958e5cdc621bd85b420826b (patch)
tree69915b82a67dad7c96abcd9e87d26b82c737f153
parent4f9e995a96f0022b5c6d71f649ae691f8d05d271 (diff)
downloadffmpeg-ea7599ba8bbbf38ce958e5cdc621bd85b420826b.tar.gz
kill uninitialised variable warning in mp3_read_probe()
Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index 8d63f925ff..2f3fba8fce 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -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;