update libavformat/asf.c.

Signed-off-by: ziyugao <gaoziyu0614@outlook.com>
This commit is contained in:
ziyugao 2024-10-10 04:02:52 +00:00 committed by Gitee
parent 3387af21cd
commit e6477f00a2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;
}