Previous rewrite from inline assembly into nasm (commit e934194) missed the required EMMS instruction to bring the x87 FPU back into usable state. This needs to be done for 8-byte MMX or Extended MMX only.
Signed-off-by: Mario Hros <k3x-de...@outlook.com> --- libswscale/x86/yuv_2_rgb.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libswscale/x86/yuv_2_rgb.asm b/libswscale/x86/yuv_2_rgb.asm index e3470fd9ad..5926133af8 100644 --- a/libswscale/x86/yuv_2_rgb.asm +++ b/libswscale/x86/yuv_2_rgb.asm @@ -354,6 +354,10 @@ add imageq, 8 * depth * time_num add indexq, 4 * time_num js .loop0 +%if mmsize == 8 +emms +%endif + RET %endmacro -- 2.39.3 (Apple Git-146) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".