From 2ad70f57a88ba5fccd37c73cc63286a1d2e2a274 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 Jun 2013 02:09:46 +0200 Subject: [PATCH] swresample/x86/audio_convert: add emms to CONV Fixes ticket #1874 Signed-off-by: Michael Niedermayer (cherry picked from commit ca2818b88155029bb6f989ee522e7f8e9e9f5927) --- libswresample/x86/audio_convert.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libswresample/x86/audio_convert.asm b/libswresample/x86/audio_convert.asm index 29701a594c..854f8e4e56 100644 --- a/libswresample/x86/audio_convert.asm +++ b/libswresample/x86/audio_convert.asm @@ -196,7 +196,12 @@ cglobal %2_to_%1_%3, 3, 3, 6, dst, src, len add lenq, 2*mmsize/(1<<%4) %endif jl .next +%if mmsize == 8 + emms + RET +%else REP_RET +%endif %endmacro %macro PACK_6CH 5-7