Ensure MMX/SSE2 VP3 IDCT selection isn't disabled when only Theora is enabled
authorDavid Conrad <lessen42@gmail.com>
Wed, 17 Sep 2008 19:49:31 +0000 (19:49 +0000)
committerDavid Conrad <lessen42@gmail.com>
Wed, 17 Sep 2008 19:49:31 +0000 (19:49 +0000)
Originally committed as revision 15350 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/i386/dsputil_mmx.c

index 1ee9a2e..6e1a93d 100644 (file)
@@ -2527,7 +2527,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
                 }
                 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
 #endif
-            }else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER) &&
+            }else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER || ENABLE_THEORA_DECODER) &&
                      idct_algo==FF_IDCT_VP3){
                 if(mm_flags & MM_SSE2){
                     c->idct_put= ff_vp3_idct_put_sse2;