libavcodec/motion-test: set the bitexact flag

this is needed for testing mmx2 functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-02-26 02:48:18 +01:00
parent bfcc38ef48
commit bfcc21a472
1 changed files with 1 additions and 0 deletions

View File

@ -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++) {