From 28c47a423b6266a6cfaabff149b9bfe1e7401e9b Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Tue, 25 Mar 2008 14:34:27 +0000 Subject: [PATCH] Set mm_flags in dct-test to fix floating math. Patch by Alexander Strange \astrange ithinksw com/ Originally committed as revision 12580 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dct-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index c3ef297c49..dd8099b2e2 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -531,6 +531,7 @@ int main(int argc, char **argv) init_fdct(); idct_mmx_init(); + mm_flags = mm_support(); for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; for(i=0;i