]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motion-test.c
Fix decoding of 2/4 bpp Tiff samples.
[ffmpeg] / libavcodec / motion-test.c
index 994b262bc07ac99f3f301561229cd11bc975050e..85ea1045b48f82c31ac8f3234a9cd88e656a02e0 100644 (file)
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
 
     printf("ffmpeg motion test\n");
 
-    ctx = avcodec_alloc_context();
+    ctx = avcodec_alloc_context3(NULL);
     ctx->dsp_mask = AV_CPU_FLAG_FORCE;
     dsputil_init(&cctx, ctx);
     for (c = 0; c < flags_size; c++) {