changeset 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 c9f6a0946672
files h263dec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Sat Dec 17 18:14:38 2005 +0000
+++ b/h263dec.c	Sun Dec 18 02:23:19 2005 +0000
@@ -640,6 +640,8 @@
     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