Mercurial > libavcodec.hg
diff h263dec.c @ 2869:f3bc39da0cc4 libavcodec
select xvid idct for xvid files if possible
author | michael |
---|---|
date | Sat, 10 Sep 2005 17:09:54 +0000 |
parents | 0a8c847ad5e7 |
children | ef2149182f1c |
line wrap: on
line diff
--- a/h263dec.c Sat Sep 10 17:01:30 2005 +0000 +++ b/h263dec.c Sat Sep 10 17:09:54 2005 +0000 @@ -636,9 +636,9 @@ } #endif -#ifdef HAVE_MMX +#if defined(HAVE_MMX) && defined(CONFIG_GPL) if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){ - avctx->idct_algo= FF_IDCT_LIBMPEG2MMX; + avctx->idct_algo= FF_IDCT_XVIDMMX; avctx->coded_width= 0; // force reinit } #endif