]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/4xm.c
avcodec/libx264: move where x264opts is applied down so it isnt overridden by avctx...
[ffmpeg] / libavcodec / 4xm.c
index 4add46fe4e51efffa7f06d63dfe9c74c494ef853..23ba1ecee7ada2a4fe035deb4497d5d01cfd2418 100644 (file)
@@ -24,6 +24,8 @@
  * 4XM codec.
  */
 
+#include <inttypes.h>
+
 #include "libavutil/avassert.h"
 #include "libavutil/frame.h"
 #include "libavutil/imgutils.h"
@@ -831,7 +833,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
     av_assert0(avctx->width % 16 == 0 && avctx->height % 16 == 0);
 
     if (buf_size < AV_RL32(buf + 4) + 8) {
-        av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %d\n",
+        av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %"PRIu32"\n",
                buf_size, AV_RL32(buf + 4));
         return AVERROR_INVALIDDATA;
     }