[FFmpeg-cvslog] avformat/mlvdec: print unsigned chunk size

Peter Ross git at videolan.org
Sun Apr 27 14:45:10 CEST 2014


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sun Apr 27 12:42:28 2014 +1000| [9abf08f79fb3227d5efe1d9a05df122be0f3006e] | committer: Michael Niedermayer

avformat/mlvdec: print unsigned chunk size

Signed-off-by: Peter Ross <pross at xvid.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9abf08f79fb3227d5efe1d9a05df122be0f3006e
---

 libavformat/mlvdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index db7576b..6550e86 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -239,7 +239,7 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f
         } else if (type == MKTAG('N','U','L','L')) {
         } else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and Mnn files are concatenated */
         } else {
-            av_log(avctx, AV_LOG_INFO, "unsupported tag %c%c%c%c, size %d\n", type&0xFF, (type>>8)&0xFF, (type>>16)&0xFF, (type>>24)&0xFF, size);
+            av_log(avctx, AV_LOG_INFO, "unsupported tag %c%c%c%c, size %u\n", type&0xFF, (type>>8)&0xFF, (type>>16)&0xFF, (type>>24)&0xFF, size);
         }
         avio_skip(pb, size);
     }



More information about the ffmpeg-cvslog mailing list