| Index: source/patched-ffmpeg-mt/libavcodec/motion-test.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavcodec/motion-test.c (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavcodec/motion-test.c (working copy)
|
| @@ -128,7 +128,7 @@
|
| AVCodecContext *ctx;
|
| int c;
|
| DSPContext cctx, mmxctx;
|
| - int flags[2] = { FF_MM_MMX, FF_MM_MMX2 };
|
| + int flags[2] = { AV_CPU_FLAG_MMX, AV_CPU_FLAG_MMX2 };
|
| int flags_size = HAVE_MMX2 ? 2 : 1;
|
|
|
| for(;;) {
|
| @@ -145,11 +145,11 @@
|
| printf("ffmpeg motion test\n");
|
|
|
| ctx = avcodec_alloc_context();
|
| - ctx->dsp_mask = FF_MM_FORCE;
|
| + ctx->dsp_mask = AV_CPU_FLAG_FORCE;
|
| dsputil_init(&cctx, ctx);
|
| for (c = 0; c < flags_size; c++) {
|
| int x;
|
| - ctx->dsp_mask = FF_MM_FORCE | flags[c];
|
| + ctx->dsp_mask = AV_CPU_FLAG_FORCE | flags[c];
|
| dsputil_init(&mmxctx, ctx);
|
|
|
| for (x = 0; x < 2; x++) {
|
|
|