[FFmpeg-cvslog] Disable MMX

Vladimir Voroshilov git at videolan.org
Sat Sep 24 21:17:05 CEST 2011


ffmpeg | branch: master | Vladimir Voroshilov <voroshil at gmail.com> | Thu Jun 18 08:16:03 2009 +0700| [5d5b3e527aa1702754c645cbdbbb26eb6b81c983] | committer: Michael Niedermayer

Disable MMX

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d5b3e527aa1702754c645cbdbbb26eb6b81c983
---

 libavcodec/g729dec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index 20276f2..f68cafa 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -370,6 +370,7 @@ static av_cold int decoder_init(AVCodecContext * avctx)
     for(i=0; i<4; i++)
         ctx->quant_energy[i] = -14336; // -14 in (5.10)
 
+    avctx->dsp_mask = FF_MM_MMX | FF_MM_SSE2;
     dsputil_init(&ctx->dsp, avctx);
 
     return 0;



More information about the ffmpeg-cvslog mailing list