[FFmpeg-cvslog] motion-test: force C functions for the reference C context

James Almer git at videolan.org
Wed Jun 4 01:12:29 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Jun  3 18:45:37 2014 -0300| [3ab4f96a91e96ee163bbb5f4b59ff774ae5a392b] | committer: Michael Niedermayer

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 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ab4f96a91e96ee163bbb5f4b59ff774ae5a392b
---

 libavcodec/motion-test.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 3861601..7308717 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++) {



More information about the ffmpeg-cvslog mailing list