Mercurial > libavcodec.hg
changeset 2869:f3bc39da0cc4 libavcodec
select xvid idct for xvid files if possible
author | michael |
---|---|
date | Sat, 10 Sep 2005 17:09:54 +0000 |
parents | 666064f710d4 |
children | f7f8a1c2a077 |
files | h263dec.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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