diff mbox series

[FFmpeg-devel,03/10] avcodec/takdec: Remove unnecessary emms_c()

Message ID DB6PR0101MB2214852C0640588DDBF6843E8F719@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit da0e7c3b676867caf02a503cd74d9fe372e3c95d
Headers show
Series [FFmpeg-devel] swscale/x86/rgb2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 22, 2022, 3:10 p.m. UTC
Possible since 3d716d38abdae1982e84e30becb57458244656bd.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/takdec.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 3e53401328..6f4cc92e88 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -502,8 +502,6 @@  static int decode_subframe(TAKDecContext *s, int32_t *decoded,
             memcpy(s->residues, &s->residues[y], 2 * filter_order);
     }
 
-    emms_c();
-
     return 0;
 }
 
@@ -660,8 +658,6 @@  static int decorrelate(TAKDecContext *s, int c1, int c2, int length)
 
             memmove(s->residues, &s->residues[tmp], 2 * filter_order);
         }
-
-        emms_c();
         break;
     }
     }