summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-26 02:48:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-26 02:48:18 +0100
commitbfcc21a4725df230db753a3094a9485b649c0dc3 (patch)
treed2404e0445da2c6261e293a411c5ffbf4c9449e0 /libavcodec
parentbfcc38ef4815229e0aa9d8417611e0f666bb4fc7 (diff)
libavcodec/motion-test: set the bitexact flag
this is needed for testing mmx2 functions Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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 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++) {