summaryrefslogtreecommitdiff
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-06-07 15:54:49 +0000
committerDiego Biurrun <diego@biurrun.de>2007-06-07 15:54:49 +0000
commitb9702de506f4253f83617111ae0bf7a6724115a8 (patch)
tree3076bb5c1dac8ebb49dc62e268df690e2dc35376 /libavcodec/dct-test.c
parentee3035f31e97ac095a9504c032c7320dcd9cfe4b (diff)
Fix linking when GPL code has been disabled.
Originally committed as revision 9244 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index c51c249b39..1e1c42bba5 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -95,8 +95,10 @@ struct algo algos[] = {
DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM),
DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM),
+#ifdef CONFIG_GPL
DCT_ERROR("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, MMX_PERM),
DCT_ERROR("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, MMX_PERM),
+#endif
DCT_ERROR("SIMPLE-MMX", 1, ff_simple_idct_mmx, idct, MMX_SIMPLE_PERM),
DCT_ERROR("XVID-MMX", 1, ff_idct_xvid_mmx, idct, NO_PERM),
DCT_ERROR("XVID-MMX2", 1, ff_idct_xvid_mmx2, idct, NO_PERM),