Commit bfcc21a4 authored by Michael Niedermayer's avatar Michael Niedermayer

libavcodec/motion-test: set the bitexact flag

this is needed for testing mmx2 functions
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bfcc38ef
...@@ -128,6 +128,7 @@ int main(int argc, char **argv) ...@@ -128,6 +128,7 @@ int main(int argc, char **argv)
ctx = avcodec_alloc_context3(NULL); ctx = avcodec_alloc_context3(NULL);
ctx->dsp_mask = AV_CPU_FLAG_FORCE; ctx->dsp_mask = AV_CPU_FLAG_FORCE;
ctx->flags |= CODEC_FLAG_BITEXACT;
memset(&cctx, 0, sizeof(cctx)); memset(&cctx, 0, sizeof(cctx));
ff_dsputil_init(&cctx, ctx); ff_dsputil_init(&cctx, ctx);
for (c = 0; c < flags_size; c++) { for (c = 0; c < flags_size; c++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment