From bfcc21a4725df230db753a3094a9485b649c0dc3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Feb 2013 02:48:18 +0100 Subject: [PATCH] libavcodec/motion-test: set the bitexact flag this is needed for testing mmx2 functions 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 2cdb1c0755..cb1d070b0f 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++) {