Mercurial > libavformat.hg
comparison raw.c @ 2224:fbaec5e545d2 libavformat
kill uninitialised variable warning in ac3_probe()
author | mru |
---|---|
date | Sat, 07 Jul 2007 13:46:28 +0000 |
parents | dbcfc6a4c016 |
children | 7ad682f38b9a |
comparison
equal
deleted
inserted
replaced
2223:824d41f03283 | 2224:fbaec5e545d2 |
---|---|
410 return 0; | 410 return 0; |
411 } | 411 } |
412 | 412 |
413 static int ac3_probe(AVProbeData *p) | 413 static int ac3_probe(AVProbeData *p) |
414 { | 414 { |
415 int max_frames, first_frames, frames; | 415 int max_frames, first_frames = 0, frames; |
416 uint8_t *buf, *buf2, *end; | 416 uint8_t *buf, *buf2, *end; |
417 AC3HeaderInfo hdr; | 417 AC3HeaderInfo hdr; |
418 | 418 |
419 if(p->buf_size < 7) | 419 if(p->buf_size < 7) |
420 return 0; | 420 return 0; |