changeset 4020:723818b5de0f libavcodec

Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure with --disable-opts.
author diego
date Sat, 14 Oct 2006 17:04:50 +0000
parents 6d4ac21853d7
children 56a9e98b06a7
files i386/dsputil_mmx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Sat Oct 14 14:48:45 2006 +0000
+++ b/i386/dsputil_mmx.c	Sat Oct 14 17:04:50 2006 +0000
@@ -2704,6 +2704,7 @@
 
 /* XXX: those functions should be suppressed ASAP when all IDCTs are
    converted */
+#ifdef CONFIG_GPL
 static void ff_libmpeg2mmx_idct_put(uint8_t *dest, int line_size, DCTELEM *block)
 {
     ff_mmx_idct (block);
@@ -2724,6 +2725,7 @@
     ff_mmxext_idct (block);
     add_pixels_clamped_mmx(block, dest, line_size);
 }
+#endif
 static void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block)
 {
     ff_vp3_idct_sse2(block);