aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-18 02:09:46 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-18 02:53:59 +0200
commit2ad70f57a88ba5fccd37c73cc63286a1d2e2a274 (patch)
treedaf690ec3988f9f3277a423b52589b50804d32df
parent194590dc56c4524f602ee5fd592374495627018d (diff)
downloadffmpeg-2ad70f57a88ba5fccd37c73cc63286a1d2e2a274.tar.gz
swresample/x86/audio_convert: add emms to CONV
Fixes ticket #1874 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ca2818b88155029bb6f989ee522e7f8e9e9f5927)
-rw-r--r--libswresample/x86/audio_convert.asm5
1 files changed, 5 insertions, 0 deletions
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