summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-12-18 02:23:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-12-18 02:23:19 +0000
commit6baac1afd6af48cf7ebbb0025f8e9595bd4a83bd (patch)
treeb2095562597632460786b95cb633e69249ec26f6 /libavcodec/h263dec.c
parent115329f16062074e11ccf3b89ead6176606c9696 (diff)
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
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index b93e2c505c..c977d296a9 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -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