summaryrefslogtreecommitdiff
path: root/libavcodec/motion-test.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-06-03 18:45:37 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 00:48:28 +0200
commit3ab4f96a91e96ee163bbb5f4b59ff774ae5a392b (patch)
tree0ad03a4f0c81b769408eb6a2e6ff41bb0b34107c /libavcodec/motion-test.c
parent03acecae84aee38bcc6baaf8b098fa7012edd434 (diff)
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 <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/motion-test.c')
-rw-r--r--libavcodec/motion-test.c1
1 files changed, 1 insertions, 0 deletions
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++) {