From 3ab4f96a91e96ee163bbb5f4b59ff774ae5a392b Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 3 Jun 2014 18:45:37 -0300 Subject: [PATCH] motion-test: force C functions for the reference C context It was instead using the highest available asm functions, which completely kills the point of being a reference C context. Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libavcodec/motion-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c index 38616012ca..73087177a1 100644 --- a/libavcodec/motion-test.c +++ b/libavcodec/motion-test.c @@ -128,6 +128,7 @@ int main(int argc, char **argv) ctx = avcodec_alloc_context3(NULL); ctx->flags |= CODEC_FLAG_BITEXACT; + av_force_cpu_flags(0); memset(&cctx, 0, sizeof(cctx)); ff_dsputil_init(&cctx, ctx); for (c = 0; c < flags_size; c++) {