Commit e3c188e7 authored by James Almer's avatar James Almer

avcodec/rmdec: add missing av_log argument

Also change the format specifier to expect an unsigned int
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent b58cfa61
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment