aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-21 19:24:02 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-23 12:21:00 +0200
commitde33506e4b3e3362095aab167ad8bb87c1bd9488 (patch)
tree3f4336a18936745b69c3b7a8eef5f2cdeff8e30a
parent72cfc80d7b500a7f66b1bb7373f67f549c1774c6 (diff)
downloadffmpeg-de33506e4b3e3362095aab167ad8bb87c1bd9488.tar.gz
swscale/x86/rgb_2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext
Fixes FATE-failures with the the filter-2xbr filter-3xbr filter-4xbr filter-ep2x filter-ep3x filter-hq2x filter-hq3x filter-hq4x filter-paletteuse-bayer filter-paletteuse-bayer0 filter-paletteuse-nodither and filter-paletteuse-sierra2_4a tests when using 32bit x86 with CPUFLAGS ranging from "mmx+mmxext" to "mmx+mmxext+sse+sse2+sse3" (the relevant function is only overwritten when using SSSE3). Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libswscale/x86/rgb_2_rgb.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/x86/rgb_2_rgb.asm b/libswscale/x86/rgb_2_rgb.asm
index c695c61d5c..76ca1eec03 100644
--- a/libswscale/x86/rgb_2_rgb.asm
+++ b/libswscale/x86/rgb_2_rgb.asm
@@ -104,6 +104,7 @@ jge .end
jl .loop_simd
.end:
+ emms
RET
;------------------------------------------------------------------------------