]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/indeo3.c
cinepak: use the AVFrame API properly.
[ffmpeg] / libavcodec / indeo3.c
index 7cc870d5a0efa1ef32b43dd1f43c1e0aabc4b37b..a9c02b2889abd878735595198a4bf161ee341faa 100644 (file)
@@ -944,7 +944,7 @@ static int decode_frame_headers(Indeo3DecodeContext *ctx, AVCodecContext *avctx,
         free_frame_buffers(ctx);
         if ((res = allocate_frame_buffers(ctx, avctx)) < 0)
              return res;
-        avcodec_set_dimensions(avctx, width, height);
+        ff_set_dimensions(avctx, width, height);
     }
 
     y_offset = bytestream2_get_le32(&gb);