From f1ae14d20d6b25ed8e1c2b8882b99df71ad84b1a Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Thu, 17 Apr 2008 15:41:25 +0000 Subject: [PATCH] Xvid IDCTs are not under CONFIG_GPL, so don't require it when using them. Originally committed as revision 12880 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 86a577b63b..700ff8fb85 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -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