Commit 21152883 authored by michael's avatar michael

select xvid idct for xvid files if possible


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3eeccf67
......@@ -636,9 +636,9 @@ retry:
}
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment