SH4: fix IDCT
authorMåns Rullgård <mans@mansr.com>
Wed, 19 Nov 2008 00:37:30 +0000 (00:37 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 19 Nov 2008 00:37:30 +0000 (00:37 +0000)
Originally committed as revision 15882 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/sh4/idct_sh4.c

index b684e8f..a11a0c7 100644 (file)
@@ -138,7 +138,7 @@ void idct_sh4(DCTELEM *block)
         int ofs1,ofs2,ofs3;
 
 #if defined(__SH4__)
-#error  "FIXME!! change to single float"
+        __asm__ ("fschg");
 #endif
 
         /* row */
@@ -253,7 +253,7 @@ void idct_sh4(DCTELEM *block)
         } while(--i);
 
 #if defined(__SH4__)
-#error  "FIXME!! change to double"
+        __asm__ ("fschg");
 #endif
 }
 #else