summaryrefslogtreecommitdiff
path: root/libswresample/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-18 02:09:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-18 02:26:36 +0200
commitca2818b88155029bb6f989ee522e7f8e9e9f5927 (patch)
treebf83a109f218ecc9c20dd5dc02deb5e2f7b64703 /libswresample/x86
parent2ee380aefbb92c89e8e9c7aa5846aa404919ec7c (diff)
downloadffmpeg-ca2818b88155029bb6f989ee522e7f8e9e9f5927.tar.gz
swresample/x86/audio_convert: add emms to CONV
Might fix Ticket1874 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/x86')
-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 ad46977c6f..4963959c54 100644
--- a/libswresample/x86/audio_convert.asm
+++ b/libswresample/x86/audio_convert.asm
@@ -195,7 +195,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