diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 23:35:16 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-12-10 00:50:06 +0100 |
commit | ec6271c01995b189ba7f63d394799645bf1de50d (patch) | |
tree | e058e9f61a4ef70d8686d185c33dbb6f3c895cf0 | |
parent | 455b98b7775c68fd02adbeec9681e35ad725a838 (diff) | |
download | ffmpeg-ec6271c01995b189ba7f63d394799645bf1de50d.tar.gz |
riff: ignore ff_read_riff_info() failure.
Some files simply contain invalid info tags.
Fixes unrelated bug posted into Ticket1821
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 09456d0df13404f004ab3a341d9ac21b7e5e6d6d)
-rw-r--r-- | libavformat/wav.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index 9d4b0708b8..2080d8e664 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -513,8 +513,7 @@ static int wav_read_header(AVFormatContext *s, } switch (list_type) { case MKTAG('I', 'N', 'F', 'O'): - if ((ret = ff_read_riff_info(s, size - 4)) < 0) - return ret; + ff_read_riff_info(s, size - 4); } break; } |