[FFmpeg-cvslog] avcodec/asvdec: Remove unnecessary emms_c()
Andreas Rheinhardt
git at videolan.org
Sun Oct 9 20:41:09 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Oct 5 19:51:13 2022 +0200| [ebcaa24274c4f67393710d2d40bd75b4e2f7f8e2] | committer: Andreas Rheinhardt
avcodec/asvdec: Remove unnecessary emms_c()
This codec uses BswapDSP, BlockDSP and IDCTDSP.
The former never used MMX, the latter does not use it
for idct_put since bfb28b5ce89f3e950214b67ea95b45e3355c2caf
and BlockDSP does not use it since commit
ee551a21ddcbf81afe183d9489c534ee80f263a0.
Therefore this emms_c() is can be removed.
(It was actually always redundant, because its caller
(decode_simple_internal()) calls emms_c() itself afterwards.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ebcaa24274c4f67393710d2d40bd75b4e2f7f8e2
---
libavcodec/asvdec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c
index 7dafc115b3..be89544732 100644
--- a/libavcodec/asvdec.c
+++ b/libavcodec/asvdec.c
@@ -293,8 +293,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
*got_frame = 1;
- emms_c();
-
return (get_bits_count(&a->gb) + 31) / 32 * 4;
}
More information about the ffmpeg-cvslog
mailing list