From e3c188e72c02f30d10906ae06516563f58a58a1b Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 15 Jan 2016 02:26:36 -0300 Subject: avcodec/rmdec: add missing av_log argument Also change the format specifier to expect an unsigned int Signed-off-by: James Almer --- libavformat/rmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 0867485cd8..1a61b10d44 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -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; } -- cgit v1.2.3