changeset 3721:2000e401593d libavcodec

disable vp3 mmx idct for theora files to avoid artifacts (see theora-a4_v6-k250-s0_2.ogg)
author aurel
date Thu, 14 Sep 2006 22:13:23 +0000
parents c52a1096385e
children 0da2c9abe11b
files i386/dsputil_mmx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Thu Sep 14 14:02:32 2006 +0000
+++ b/i386/dsputil_mmx.c	Thu Sep 14 22:13:23 2006 +0000
@@ -3056,6 +3056,7 @@
                 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
 #endif
             }else if(idct_algo==FF_IDCT_VP3 &&
+                     avctx->codec->id!=CODEC_ID_THEORA &&
                      !(avctx->flags & CODEC_FLAG_BITEXACT)){
                 if(mm_flags & MM_SSE2){
                     c->idct_put= ff_vp3_idct_put_sse2;