[Ffmpeg-cvslog] r6691 - trunk/libavcodec/i386/dsputil_mmx.c

diego subversion
Sat Oct 14 19:04:50 CEST 2006


Author: diego
Date: Sat Oct 14 19:04:50 2006
New Revision: 6691

Modified:
   trunk/libavcodec/i386/dsputil_mmx.c

Log:
Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure
with --disable-opts.


Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_mmx.c	Sat Oct 14 19:04:50 2006
@@ -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);




More information about the ffmpeg-cvslog mailing list