summaryrefslogtreecommitdiff
path: root/libavcodec/i386/dsputil_mmx.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-09-14 00:38:03 +0000
committerDiego Biurrun <diego@biurrun.de>2006-09-14 00:38:03 +0000
commit7f889a76add819ebdf6469866ff0cd3a6ee117e7 (patch)
tree51cc5fc7b1ab9a06660b1f249de44d24fcf10af5 /libavcodec/i386/dsputil_mmx.c
parentfbb9d1043d775b1ba2524a7f03d05af5b3103cd1 (diff)
Remove the LGPL exception clause as discussed on ffmpeg-devel
and move the dependent code under CONFIG_GPL. Originally committed as revision 6248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 74c6f52173..09d781fb2a 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -3042,6 +3042,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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){