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 4b3037d..b3739e4 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);
         }
-- 
2.1.4

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to