]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dpx.c
aacdec: change type of data in decode_audio_specific_config parameters
[ffmpeg] / libavcodec / dpx.c
index 94a91816c5fb998ffa810a689540c8814405afa8..f92b3d0e314bcf21d2ce726e5c4acbbed6203e76 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "libavutil/intreadwrite.h"
+#include "libavcore/imgutils.h"
 #include "bytestream.h"
 #include "avcodec.h"
 
@@ -139,7 +140,7 @@ static int decode_frame(AVCodecContext *avctx,
 
     if (s->picture.data[0])
         avctx->release_buffer(avctx, &s->picture);
-    if (avcodec_check_dimensions(avctx, w, h))
+    if (av_image_check_size(w, h, 0, avctx))
         return -1;
     if (w != avctx->width || h != avctx->height)
         avcodec_set_dimensions(avctx, w, h);