[FFmpeg-devel] [PATCH 10/13] avcodec/pcm: Remove unnecessary emms_c()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Sep 1 01:22:32 EEST 2023


The floating point dsp code does not use MMX registers
since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/pcm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 467ecb4fe0..4abca7cc07 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -538,7 +538,6 @@ static int pcm_decode_frame(AVCodecContext *avctx, AVFrame *frame,
         s->vector_fmul_scalar((float *)frame->extended_data[0],
                               (const float *)frame->extended_data[0],
                               s->scale, FFALIGN(frame->nb_samples * avctx->ch_layout.nb_channels, 4));
-        emms_c();
     }
 
     *got_frame_ptr = 1;
-- 
2.34.1



More information about the ffmpeg-devel mailing list