]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motion-test.c
Add a size argument to dump_int_buffer()
[ffmpeg] / libavcodec / motion-test.c
index b88917c988943048bd86ba400247c80173330f97..f689824f8e757de641b89164d616b83eece66d26 100644 (file)
@@ -142,9 +142,9 @@ int main(int argc, char **argv)
         }
     }
 
-    printf("ffmpeg motion test\n");
+    printf("Libav 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++) {