mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 05:11:09 +00:00
parent
9c18a056b1
commit
a8e93ce4cb
@ -507,7 +507,7 @@ static int wav_read_header(AVFormatContext *s,
|
|||||||
goto break_loop;
|
goto break_loop;
|
||||||
case MKTAG('L', 'I', 'S', 'T'):
|
case MKTAG('L', 'I', 'S', 'T'):
|
||||||
list_type = avio_rl32(pb);
|
list_type = avio_rl32(pb);
|
||||||
if (size <= 4) {
|
if (size < 4) {
|
||||||
av_log(s, AV_LOG_ERROR, "too short LIST");
|
av_log(s, AV_LOG_ERROR, "too short LIST");
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user