[FFmpeg-cvslog] avcodec/rmdec: add missing av_log argument

James Almer git at videolan.org
Fri Jan 15 06:27:27 CET 2016


ffmpeg | branch: master | James Almer <jamrial at 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 <jamrial at 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;
                 }
 



More information about the ffmpeg-cvslog mailing list