summaryrefslogtreecommitdiff
path: root/libavcodec/sh4
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-11-19 00:37:30 +0000
committerMåns Rullgård <mans@mansr.com>2008-11-19 00:37:30 +0000
commitdf69be0c1330fb590e5d68222264db9666d55b7c (patch)
tree1280c1cf88f276f5c769ca464becdd1d67ed70d8 /libavcodec/sh4
parent6f15dd8d14918ac4eecf9e1d5ea50fbea4208bb7 (diff)
downloadffmpeg-df69be0c1330fb590e5d68222264db9666d55b7c.tar.gz
SH4: fix IDCT
Originally committed as revision 15882 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sh4')
-rw-r--r--libavcodec/sh4/idct_sh4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sh4/idct_sh4.c b/libavcodec/sh4/idct_sh4.c
index b684e8f56f..a11a0c77c1 100644
--- a/libavcodec/sh4/idct_sh4.c
+++ b/libavcodec/sh4/idct_sh4.c
@@ -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