ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Fri Jan 15 02:26:36 2016 -0300| [e3c188e72c02f30d10906ae06516563f58a58a1b] | committer: James Almer
avcodec/rmdec: add missing av_log argument Also change the format specifier to expect an unsigned int Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e3c188e72c02f30d10906ae06516563f58a58a1b --- libavformat/rmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 0867485..1a61b10 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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog