From dafe88245768ee96a7cd61899d31f55af9af944e Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Wed, 25 Jun 2008 17:33:55 +0000 Subject: [PATCH] Use a local variable instead of mm_flags in dct-test. Originally committed as revision 13967 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dct-test.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index e96c895c21..0868c2e3f8 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -528,14 +528,11 @@ int main(int argc, char **argv) int test_idct = 0, test_248_dct = 0; int c,i; int test=1; + int cpu_flags = mm_support(); init_fdct(); idct_mmx_init(); -#ifndef mm_flags - mm_flags = mm_support(); -#endif - for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; for(i=0;i