Mercurial > libavcodec.hg
comparison h263dec.c @ 2968:383eee00b898 libavcodec
fix custom matrix permutation if xvid idct is autoselected and you have bad luck
author | michael |
---|---|
date | Sun, 18 Dec 2005 02:23:19 +0000 |
parents | ef2149182f1c |
children | 49c6f104a76f |
comparison
equal
deleted
inserted
replaced
2967:ef2149182f1c | 2968:383eee00b898 |
---|---|
638 | 638 |
639 #if defined(HAVE_MMX) && defined(CONFIG_GPL) | 639 #if defined(HAVE_MMX) && defined(CONFIG_GPL) |
640 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)){ | 640 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)){ |
641 avctx->idct_algo= FF_IDCT_XVIDMMX; | 641 avctx->idct_algo= FF_IDCT_XVIDMMX; |
642 avctx->coded_width= 0; // force reinit | 642 avctx->coded_width= 0; // force reinit |
643 // dsputil_init(&s->dsp, avctx); | |
644 s->picture_number=0; | |
643 } | 645 } |
644 #endif | 646 #endif |
645 | 647 |
646 /* After H263 & mpeg4 header decode we have the height, width,*/ | 648 /* After H263 & mpeg4 header decode we have the height, width,*/ |
647 /* and other parameters. So then we could init the picture */ | 649 /* and other parameters. So then we could init the picture */ |