diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-03-13 12:13:33 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-22 14:08:20 +0100 |
commit | cc8163e1a3601a56f722a4720516e860bf1c6198 (patch) | |
tree | d024d6a6300f2c013910239746ede9a97971518a /libavcodec/truemotion2.c | |
parent | 7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff) | |
download | ffmpeg-cc8163e1a3601a56f722a4720516e860bf1c6198.tar.gz |
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r-- | libavcodec/truemotion2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index e41d7a39e3..888692435b 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -24,6 +24,8 @@ * Duck TrueMotion2 decoder. */ +#include <inttypes.h> + #include "avcodec.h" #include "bytestream.h" #include "get_bits.h" @@ -231,7 +233,8 @@ static inline int tm2_read_header(TM2Context *ctx, const uint8_t *buf) case TM2_NEW_HEADER_MAGIC: return 0; default: - av_log(ctx->avctx, AV_LOG_ERROR, "Not a TM2 header: 0x%08X\n", magic); + av_log(ctx->avctx, AV_LOG_ERROR, "Not a TM2 header: 0x%08"PRIX32"\n", + magic); return AVERROR_INVALIDDATA; } } |