changeset 2977:49c6f104a76f libavcodec

also autodetect xvid idct if bitexact is used
author michael
date Wed, 21 Dec 2005 15:51:45 +0000
parents b5e8b6821274
children 403183bbb505
files h263dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Tue Dec 20 23:07:25 2005 +0000
+++ b/h263dec.c	Wed Dec 21 15:51:45 2005 +0000
@@ -637,7 +637,7 @@
 #endif
 
 #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)){
+    if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX)){
         avctx->idct_algo= FF_IDCT_XVIDMMX;
         avctx->coded_width= 0; // force reinit
 //        dsputil_init(&s->dsp, avctx);