changeset 2224:fbaec5e545d2 libavformat

kill uninitialised variable warning in ac3_probe()
author mru
date Sat, 07 Jul 2007 13:46:28 +0000
parents 824d41f03283
children 7e5e26f8052a
files raw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Sat Jul 07 13:46:25 2007 +0000
+++ b/raw.c	Sat Jul 07 13:46:28 2007 +0000
@@ -412,7 +412,7 @@
 
 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;