Xvid IDCTs are not under CONFIG_GPL, so don't require it when using them.
authorAlexander Strange <astrange@ithinksw.com>
Thu, 17 Apr 2008 15:41:25 +0000 (15:41 +0000)
committerAlexander Strange <astrange@ithinksw.com>
Thu, 17 Apr 2008 15:41:25 +0000 (15:41 +0000)
Originally committed as revision 12880 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c

index 86a577b..700ff8f 100644 (file)
@@ -548,7 +548,7 @@ retry:
 }
 #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