Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-15 08:26:36 +0300
committerJames Almer <jamrial@gmail.com>2016-01-15 08:26:36 +0300
commite3c188e72c02f30d10906ae06516563f58a58a1b (patch)
treed0f184a99516e328d113f7f8b4a05b064230e2c1 /libavformat
parentb58cfa616c169c90166938608e7135cdab5820e0 (diff)
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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
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;
}