]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/hqx.c
Merge commit 'fcbdd605b5409103c3f4bfa063ea270f2229b125'
[ffmpeg] / libavcodec / hqx.c
index 138d9604118c74ada6d4672573673a686d43903c..1bc123e6591792559943556b0032b2b7826e23ef 100644 (file)
@@ -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",