From 163cc67beb3ed28aeb500c9a09df47c8df613025 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 24 Mar 2017 17:35:06 +0100 Subject: [PATCH] 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' --- 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); }