summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-07 19:46:28 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-07 19:46:28 +0000
commit4b4e6ae115219bac7488463bfd74f2ca3faf031d (patch)
tree41ac133c9e1eb9b686ffe3d08c34fbeb15b04a18 /src/libffmpeg/libavcodec/dsputil.c
parenta56d88fc434e5ee124867b1af13d6398ce5e9a5a (diff)
downloadxine-lib-4b4e6ae115219bac7488463bfd74f2ca3faf031d.tar.gz
xine-lib-4b4e6ae115219bac7488463bfd74f2ca3faf031d.tar.bz2
- sync with ffmpeg cvs
- apply Zdenek Kabelac patches to enable -fpic compiling (why this stuff isn't in ffmpeg cvs?) CVS patchset: 2402 CVS date: 2002/08/07 19:46:28
Diffstat (limited to 'src/libffmpeg/libavcodec/dsputil.c')
-rw-r--r--src/libffmpeg/libavcodec/dsputil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/dsputil.c b/src/libffmpeg/libavcodec/dsputil.c
index c832939cc..d65bfc39a 100644
--- a/src/libffmpeg/libavcodec/dsputil.c
+++ b/src/libffmpeg/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