summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.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/rv10.c
parent7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff)
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 771d5a8485..ddaaae1cc6 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -25,6 +25,8 @@
* RV10/RV20 decoder
*/
+#include <inttypes.h>
+
#include "libavutil/imgutils.h"
#include "avcodec.h"
@@ -489,8 +491,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
if (avctx->debug & FF_DEBUG_PICT_INFO) {
av_log(avctx, AV_LOG_DEBUG, "ver:%X ver0:%X\n", rv->sub_id,
- avctx->extradata_size >= 4 ? ((uint32_t *) avctx->extradata)[0]
- : -1);
+ avctx->extradata_size >= 4 ? ((int *) avctx->extradata)[0] : -1);
}
avctx->pix_fmt = AV_PIX_FMT_YUV420P;