From fc2bb4f44dac9c4fa4b8d9dc3509818c9dcfd8ac Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Aug 2002 11:58:02 +0000 Subject: [PATCH] fixing normal mmx idct Originally committed as revision 835 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.c | 5 +++-- 1 file 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