mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
wav: do not fail on empty INFO tags
Fixes Bug 379 CC: libav-stable@libav.org
This commit is contained in:
parent
31c54711cc
commit
79922d7237
@ -288,7 +288,7 @@ static int wav_read_header(AVFormatContext *s)
|
||||
break;
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user