diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-14 15:09:30 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-14 15:09:30 +0100 |
commit | a8e93ce4cb74dc26153bdccfbe8a487674e583a6 (patch) | |
tree | 328683ad71f17dcced1115908b1a58f84e18654f | |
parent | 9c18a056b125d18fa676c3fe932fe0d0f396e5a1 (diff) | |
download | ffmpeg-a8e93ce4cb74dc26153bdccfbe8a487674e583a6.tar.gz |
Do not reject LIST tags in wav with size 4.
Fixes ticket #745.
-rw-r--r-- | libavformat/wav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index 87d97b4c0c..9d4b0708b8 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -507,7 +507,7 @@ static int wav_read_header(AVFormatContext *s, goto break_loop; case MKTAG('L', 'I', 'S', 'T'): list_type = avio_rl32(pb); - if (size <= 4) { + if (size < 4) { av_log(s, AV_LOG_ERROR, "too short LIST"); return AVERROR_INVALIDDATA; } |