disable vp3 mmx idct for theora files to avoid artifacts
authorAurelien Jacobs <aurel@gnuage.org>
Thu, 14 Sep 2006 22:13:23 +0000 (22:13 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Thu, 14 Sep 2006 22:13:23 +0000 (22:13 +0000)
(see theora-a4_v6-k250-s0_2.ogg)

Originally committed as revision 6253 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/i386/dsputil_mmx.c

index 09d781fb2af5a24e6b7140cf1191677393c2692d..6fab8f647301aa70fd99f6b0f0c45d834dc8eb5e 100644 (file)
@@ -3056,6 +3056,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
                 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;