[FFmpeg-cvslog] takdec: Use ISO C printf conversion specifiers where appropriate
Diego Biurrun
git at videolan.org
Wed Oct 25 01:27:40 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Mar 24 17:35:06 2017 +0100| [163cc67beb3ed28aeb500c9a09df47c8df613025] | committer: Diego Biurrun
takdec: Use ISO C printf conversion specifiers where appropriate
libavformat/takdec.c:144:20: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t'
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=163cc67beb3ed28aeb500c9a09df47c8df613025
---
libavformat/takdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/takdec.c b/libavformat/takdec.c
index 4b3037d9ca..b3739e446e 100644
--- a/libavformat/takdec.c
+++ b/libavformat/takdec.c
@@ -140,7 +140,7 @@ static int tak_read_header(AVFormatContext *s)
bitstream_read(&bc, TAK_LAST_FRAME_SIZE_BITS);
av_freep(&buffer);
} else if (type == TAK_METADATA_ENCODER) {
- av_log(s, AV_LOG_VERBOSE, "encoder version: %0X\n",
+ av_log(s, AV_LOG_VERBOSE, "encoder version: %0"PRIX32"\n",
bitstream_read(&bc, TAK_ENCODER_VERSION_BITS));
av_freep(&buffer);
}
More information about the ffmpeg-cvslog
mailing list