Mercurial > libavformat.hg
comparison mp3.c @ 2234:2bc002540a9b libavformat
kill uninitialised variable warning in mp3_read_probe()
author | mru |
---|---|
date | Sun, 08 Jul 2007 13:42:46 +0000 |
parents | 7ad682f38b9a |
children | 7eb456c4ed8a |
comparison
equal
deleted
inserted
replaced
2233:886efa933499 | 2234:2bc002540a9b |
---|---|
389 | 389 |
390 /* mp3 read */ | 390 /* mp3 read */ |
391 | 391 |
392 static int mp3_read_probe(AVProbeData *p) | 392 static int mp3_read_probe(AVProbeData *p) |
393 { | 393 { |
394 int max_frames, first_frames; | 394 int max_frames, first_frames = 0; |
395 int fsize, frames, sample_rate; | 395 int fsize, frames, sample_rate; |
396 uint32_t header; | 396 uint32_t header; |
397 uint8_t *buf, *buf2, *end; | 397 uint8_t *buf, *buf2, *end; |
398 AVCodecContext avctx; | 398 AVCodecContext avctx; |
399 | 399 |