[FFmpeg-cvslog] r12580 - trunk/libavcodec/dct-test.c

benoit subversion
Tue Mar 25 15:34:27 CET 2008


Author: benoit
Date: Tue Mar 25 15:34:27 2008
New Revision: 12580

Log:
Set mm_flags in dct-test to fix floating math.
Patch by Alexander Strange \astrange ithinksw com/


Modified:
   trunk/libavcodec/dct-test.c

Modified: trunk/libavcodec/dct-test.c
==============================================================================
--- trunk/libavcodec/dct-test.c	(original)
+++ trunk/libavcodec/dct-test.c	Tue Mar 25 15:34:27 2008
@@ -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++) {




More information about the ffmpeg-cvslog mailing list