[FFmpeg-devel] [PATCH 2/2] avcodec/asvenc: Remove unnecessary emms_c()
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Oct 5 04:37:41 EEST 2022
PixblockDSP does not use MMX functions any more since
92b58002776edd3a3df03c90e8a3ab24b8f987de and FDCTDSP
since d402ec6be99dc82e263bad883e7c1c3d957343db.
BswapDSP never used MMX, so that the emms_c() here
is unnecessary.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/asvenc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/asvenc.c b/libavcodec/asvenc.c
index e185d501b3..9da7cbb986 100644
--- a/libavcodec/asvenc.c
+++ b/libavcodec/asvenc.c
@@ -300,7 +300,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
encode_mb(a, a->block);
}
}
- emms_c();
if (avctx->codec_id == AV_CODEC_ID_ASV1)
flush_put_bits(&a->pb);
--
2.34.1
More information about the ffmpeg-devel
mailing list