summaryrefslogtreecommitdiffstats
path: root/libavcodec/hqx.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-12-21 11:25:34 +0100
committerDiego Biurrun <diego@biurrun.de>2016-12-23 19:30:00 +0100
commit0b77a5933635293508e7289e7cf191ed166cf070 (patch)
tree2dd54951ec6e63b1f9e7dadecb0c737c97e8fc36 /libavcodec/hqx.c
parent92db5083077a8b0f8e1050507671b456fd155125 (diff)
downloadffmpeg-streaming-0b77a5933635293508e7289e7cf191ed166cf070.zip
ffmpeg-streaming-0b77a5933635293508e7289e7cf191ed166cf070.tar.gz
Use correct printf conversion specifiers for POSIX integer types
Diffstat (limited to 'libavcodec/hqx.c')
-rw-r--r--libavcodec/hqx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c
index 3c359e3..2d1abf0 100644
--- a/libavcodec/hqx.c
+++ b/libavcodec/hqx.c
@@ -417,7 +417,7 @@ static int hqx_decode_frame(AVCodecContext *avctx, void *data,
info_tag = AV_RL32(src);
if (info_tag == MKTAG('I', 'N', 'F', 'O')) {
- unsigned info_offset = AV_RL32(src + 4);
+ uint32_t info_offset = AV_RL32(src + 4);
if (info_offset > INT_MAX || info_offset + 8 > avpkt->size) {
av_log(avctx, AV_LOG_ERROR,
"Invalid INFO header offset: 0x%08"PRIX32" is too large.\n",
OpenPOWER on IntegriCloud