changeset 6631:76a252cc9ba3 libavcodec

Xvid IDCTs are not under CONFIG_GPL, so don't require it when using them.
author astrange
date Thu, 17 Apr 2008 15:41:25 +0000
parents b3b9616561cc
children 4aa644a88500
files h263dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Thu Apr 17 07:38:30 2008 +0000
+++ b/h263dec.c	Thu Apr 17 15:41:25 2008 +0000
@@ -548,7 +548,7 @@
 }
 #endif
 
-#if defined(HAVE_MMX) && defined(CONFIG_GPL)
+#if defined(HAVE_MMX)
     if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX)){
         avctx->idct_algo= FF_IDCT_XVIDMMX;
         avctx->coded_width= 0; // force reinit