[FFmpeg-cvslog] swresample/x86/audio_convert: add emms to CONV

Michael Niedermayer git at videolan.org
Tue Jun 18 02:54:50 CEST 2013


ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 18 02:09:46 2013 +0200| [2ad70f57a88ba5fccd37c73cc63286a1d2e2a274] | committer: Carl Eugen Hoyos

swresample/x86/audio_convert: add emms to CONV

Fixes ticket #1874

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ad70f57a88ba5fccd37c73cc63286a1d2e2a274
---

 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 29701a5..854f8e4 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



More information about the ffmpeg-cvslog mailing list