[FFmpeg-cvslog] avcodec/pcm: Remove unnecessary emms_c()

Andreas Rheinhardt git at videolan.org
Mon Sep 4 12:19:12 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Aug 31 21:34:36 2023 +0200| [13c988556b3247375dca08dc56298f4bbfab3bfd] | committer: Andreas Rheinhardt

avcodec/pcm: Remove unnecessary emms_c()

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

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 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;



More information about the ffmpeg-cvslog mailing list