aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-07 13:46:28 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-07 13:46:28 +0000
commit8c222bb405f7031b2326c601f5072ca2980b1079 (patch)
tree428bbac1cbf7bb4a52bffcc025a8b4c3ae9b213a
parent14d194d5d852d652667ad3b3e4717af010b565d9 (diff)
downloadffmpeg-8c222bb405f7031b2326c601f5072ca2980b1079.tar.gz
kill uninitialised variable warning in ac3_probe()
Originally committed as revision 9521 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index c70184033a..1057aacf89 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -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;