diff i386/dsputil_mmx.c @ 3717:ea9fe1c9d126 libavcodec

Remove the LGPL exception clause as discussed on ffmpeg-devel and move the dependent code under CONFIG_GPL.
author diego
date Thu, 14 Sep 2006 00:38:03 +0000
parents f7f75f718efb
children 2000e401593d
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Wed Sep 13 21:39:41 2006 +0000
+++ b/i386/dsputil_mmx.c	Thu Sep 14 00:38:03 2006 +0000
@@ -3042,6 +3042,7 @@
                 c->idct_add= ff_simple_idct_add_mmx;
                 c->idct    = ff_simple_idct_mmx;
                 c->idct_permutation_type= FF_SIMPLE_IDCT_PERM;
+#ifdef CONFIG_GPL
             }else if(idct_algo==FF_IDCT_LIBMPEG2MMX){
                 if(mm_flags & MM_MMXEXT){
                     c->idct_put= ff_libmpeg2mmx2_idct_put;
@@ -3053,6 +3054,7 @@
                     c->idct    = ff_mmx_idct;
                 }
                 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
+#endif
             }else if(idct_algo==FF_IDCT_VP3 &&
                      !(avctx->flags & CODEC_FLAG_BITEXACT)){
                 if(mm_flags & MM_SSE2){