aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-12-31 02:15:08 -0300
committerJames Almer <jamrial@gmail.com>2014-12-31 13:35:11 -0300
commit5f14f9e9849579b3418aebfde8a162d9c172d0ea (patch)
tree3cd2f00f572db692e0b84adc129929ad7d055455
parent5ba62e89dfca540db03997668a8ec4571068d9e0 (diff)
downloadffmpeg-5f14f9e9849579b3418aebfde8a162d9c172d0ea.tar.gz
x86/swr: add missing alignment check to pack_6ch functions
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libswresample/x86/audio_convert.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswresample/x86/audio_convert.asm b/libswresample/x86/audio_convert.asm
index 370643254a..c2918a4c83 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