mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
update libavformat/asf.c.
Signed-off-by: ziyugao <gaoziyu0614@outlook.com>
This commit is contained in:
parent
3387af21cd
commit
e6477f00a2
@ -90,7 +90,7 @@ static int asf_read_picture(AVFormatContext *s, int len)
|
||||
}
|
||||
|
||||
if (picsize >= len || ((int64_t)len - picsize) * 2 + 1 > INT_MAX) {
|
||||
av_log(s, AV_LOG_ERROR, "Invalid attached picture data size: %d (len= %d).\n",
|
||||
av_log(s, AV_LOG_ERROR, "Invalid attached picture data size: %d (len = %d).\n",
|
||||
picsize, len);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user