mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avcodec/rmdec: add missing av_log argument
Also change the format specifier to expect an unsigned int Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b58cfa616c
commit
e3c188e72c
@ -1358,7 +1358,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
avio_skip(pb, 4);
|
||||
|
||||
if (size < 1 || size > INT_MAX/4) {
|
||||
av_log(s, AV_LOG_ERROR, "size %d is invalid\n");
|
||||
av_log(s, AV_LOG_ERROR, "size %u is invalid\n", size);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user