aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-03-25 14:34:27 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-03-25 14:34:27 +0000
commit28c47a423b6266a6cfaabff149b9bfe1e7401e9b (patch)
treefc3fa96e3ec8cd6ee286a5b1082c516b37217f5f /libavcodec/dct-test.c
parent978805b2c518aae480d26e4b44beede300c9a862 (diff)
downloadffmpeg-28c47a423b6266a6cfaabff149b9bfe1e7401e9b.tar.gz
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
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c1
1 files changed, 1 insertions, 0 deletions
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<MAX_NEG_CROP;i++) {