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

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


ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 18 02:09:46 2013 +0200| [d9a91dfb542ae3a5b0dcf2339183ee0177b8ab16] | 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=d9a91dfb542ae3a5b0dcf2339183ee0177b8ab16
---

 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 ad46977..4963959 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



More information about the ffmpeg-cvslog mailing list