Skip to content
Snippets Groups Projects
Commit 6baac1af authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

fix custom matrix permutation if xvid idct is autoselected and you have bad luck

Originally committed as revision 4750 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 115329f1
No related branches found
No related tags found
No related merge requests found
......@@ -640,6 +640,8 @@ retry:
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_XVIDMMX;
avctx->coded_width= 0; // force reinit
// dsputil_init(&s->dsp, avctx);
s->picture_number=0;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment