aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-08-02 11:58:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-02 11:58:02 +0000
commitfc2bb4f44dac9c4fa4b8d9dc3509818c9dcfd8ac (patch)
treee1e06cb606541cf5f2f9835721a846cd66d62f80 /libavcodec
parent32b9092155d214367996b88bc7d415bc8621cabf (diff)
downloadffmpeg-fc2bb4f44dac9c4fa4b8d9dc3509818c9dcfd8ac.tar.gz
fixing normal mmx idct
Originally committed as revision 835 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index c832939ccf..d65bfc39ab 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -1294,11 +1294,12 @@ void dsputil_init(void)
ff_idct_put = simple_idct_put;
ff_idct_add = simple_idct_add;
use_permuted_idct=0;
- } else {
+ }
+#endif
+ if(ff_idct != NULL) {
ff_idct_put = gen_idct_put;
ff_idct_add = gen_idct_add;
}
-#endif
if(use_permuted_idct)
#ifdef SIMPLE_IDCT