[FFmpeg-cvslog] g729dec: disable all cpu acceleration, the code does not provide any alignment.
Michael Niedermayer
git at videolan.org
Sat Sep 24 21:17:05 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 24 20:56:01 2011 +0200| [43e05685f225f5e14262ed64f9569e70997e38d3] | committer: Michael Niedermayer
g729dec: disable all cpu acceleration, the code does not provide any alignment.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=43e05685f225f5e14262ed64f9569e70997e38d3
---
libavcodec/g729dec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index 155bf14..62be55e 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -371,7 +371,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;
+ avctx->dsp_mask= ~AV_CPU_FLAG_FORCE;
dsputil_init(&ctx->dsp, avctx);
return 0;
More information about the ffmpeg-cvslog
mailing list