Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-05 20:51:13 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-09 20:28:11 +0300
commitebcaa24274c4f67393710d2d40bd75b4e2f7f8e2 (patch)
treefa7a6847560a1b905eaf7fa641891f18f919cebe /libavcodec/asvdec.c
parentaf94ae7dc78b5379d62cd315d25a18f0d2c3fa18 (diff)
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@outlook.com>
Diffstat (limited to 'libavcodec/asvdec.c')
-rw-r--r--libavcodec/asvdec.c2
1 files changed, 0 insertions, 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;
}