Browse code

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>

James Almer authored on 2016/01/15 14:26:36
Showing 1 changed files
... ...
@@ -1358,7 +1358,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt)
1358 1358
                 avio_skip(pb, 4);
1359 1359
 
1360 1360
                 if (size < 1 || size > INT_MAX/4) {
1361
-                    av_log(s, AV_LOG_ERROR, "size %d is invalid\n");
1361
+                    av_log(s, AV_LOG_ERROR, "size %u is invalid\n", size);
1362 1362
                     return AVERROR_INVALIDDATA;
1363 1363
                 }
1364 1364