[FFmpeg-cvslog] x86/swr: add missing alignment check to pack_6ch functions

James Almer git at videolan.org
Wed Dec 31 17:41:38 CET 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Dec 31 02:15:08 2014 -0300| [5f14f9e9849579b3418aebfde8a162d9c172d0ea] | committer: James Almer

x86/swr: add missing alignment check to pack_6ch functions

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>

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

 libswresample/x86/audio_convert.asm |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswresample/x86/audio_convert.asm b/libswresample/x86/audio_convert.asm
index 3706432..c2918a4 100644
--- a/libswresample/x86/audio_convert.asm
+++ b/libswresample/x86/audio_convert.asm
@@ -221,6 +221,8 @@ cglobal pack_6ch_%2_to_%1_%3, 2,8,7, dst, src, src1, src2, src3, src4, src5, len
         jne pack_6ch_%2_to_%1_u_int %+ SUFFIX
     test srcq, mmsize-1
         jne pack_6ch_%2_to_%1_u_int %+ SUFFIX
+    test src1q, mmsize-1
+        jne pack_6ch_%2_to_%1_u_int %+ SUFFIX
     test src2q, mmsize-1
         jne pack_6ch_%2_to_%1_u_int %+ SUFFIX
     test src3q, mmsize-1



More information about the ffmpeg-cvslog mailing list