comparison dct-test.c @ 5109:8d4f1823d98d libavcodec

Fix linking when GPL code has been disabled.
author diego
date Thu, 07 Jun 2007 15:54:49 +0000
parents 6ea82ac05f60
children 8fe26e4fd918
comparison
equal deleted inserted replaced
5108:6ea82ac05f60 5109:8d4f1823d98d
93 93
94 #ifdef HAVE_MMX 94 #ifdef HAVE_MMX
95 DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM), 95 DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM),
96 DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM), 96 DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM),
97 97
98 #ifdef CONFIG_GPL
98 DCT_ERROR("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, MMX_PERM), 99 DCT_ERROR("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, MMX_PERM),
99 DCT_ERROR("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, MMX_PERM), 100 DCT_ERROR("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, MMX_PERM),
101 #endif
100 DCT_ERROR("SIMPLE-MMX", 1, ff_simple_idct_mmx, idct, MMX_SIMPLE_PERM), 102 DCT_ERROR("SIMPLE-MMX", 1, ff_simple_idct_mmx, idct, MMX_SIMPLE_PERM),
101 DCT_ERROR("XVID-MMX", 1, ff_idct_xvid_mmx, idct, NO_PERM), 103 DCT_ERROR("XVID-MMX", 1, ff_idct_xvid_mmx, idct, NO_PERM),
102 DCT_ERROR("XVID-MMX2", 1, ff_idct_xvid_mmx2, idct, NO_PERM), 104 DCT_ERROR("XVID-MMX2", 1, ff_idct_xvid_mmx2, idct, NO_PERM),
103 #endif 105 #endif
104 106