mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +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