[FFmpeg-cvslog] libavcodec/motion-test: set the bitexact flag

Michael Niedermayer git at videolan.org
Tue Feb 26 02:56:07 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb 26 02:48:18 2013 +0100| [bfcc21a4725df230db753a3094a9485b649c0dc3] | committer: Michael Niedermayer

libavcodec/motion-test: set the bitexact flag

this is needed for testing mmx2 functions

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 2cdb1c0..cb1d070b 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->dsp_mask = AV_CPU_FLAG_FORCE;
+    ctx->flags |= CODEC_FLAG_BITEXACT;
     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