swresample/x86/audio_convert: add emms to CONV
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Jun 2013 00:09:46 +0000 (02:09 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 18 Jun 2013 00:52:30 +0000 (02:52 +0200)
Fixes ticket #1874

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ca2818b88155029bb6f989ee522e7f8e9e9f5927)

libswresample/x86/audio_convert.asm

index ad46977..4963959 100644 (file)
@@ -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