aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utvideodec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-13 12:13:33 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-22 14:08:20 +0100
commitcc8163e1a3601a56f722a4720516e860bf1c6198 (patch)
treed024d6a6300f2c013910239746ede9a97971518a /libavcodec/utvideodec.c
parent7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff)
downloadffmpeg-cc8163e1a3601a56f722a4720516e860bf1c6198.tar.gz
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/utvideodec.c')
-rw-r--r--libavcodec/utvideodec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 349259577b..41d5344815 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -24,6 +24,7 @@
* Ut Video decoder
*/
+#include <inttypes.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
@@ -371,7 +372,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
return AVERROR_INVALIDDATA;
}
c->frame_info = bytestream2_get_le32u(&gb);
- av_log(avctx, AV_LOG_DEBUG, "frame information flags %X\n", c->frame_info);
+ av_log(avctx, AV_LOG_DEBUG, "frame information flags %"PRIX32"\n",
+ c->frame_info);
c->frame_pred = (c->frame_info >> 8) & 3;
@@ -492,7 +494,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (c->frame_info_size != 4)
avpriv_request_sample(avctx, "Frame info not 4 bytes");
- av_log(avctx, AV_LOG_DEBUG, "Encoding parameters %08X\n", c->flags);
+ av_log(avctx, AV_LOG_DEBUG, "Encoding parameters %08"PRIX32"\n", c->flags);
c->slices = (c->flags >> 24) + 1;
c->compression = c->flags & 1;
c->interlaced = c->flags & 0x800;