diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-12-21 11:25:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-12-23 19:30:00 +0100 |
commit | 0b77a5933635293508e7289e7cf191ed166cf070 (patch) | |
tree | 2dd54951ec6e63b1f9e7dadecb0c737c97e8fc36 /libavcodec/hqx.c | |
parent | 92db5083077a8b0f8e1050507671b456fd155125 (diff) | |
download | ffmpeg-0b77a5933635293508e7289e7cf191ed166cf070.tar.gz |
Use correct printf conversion specifiers for POSIX integer types
Diffstat (limited to 'libavcodec/hqx.c')
-rw-r--r-- | libavcodec/hqx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c index 3c359e3863..2d1abf0cca 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", |