swr: fix PACK_2CH register count
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 5 May 2012 17:42:52 +0000 (19:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 5 May 2012 17:42:52 +0000 (19:42 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/x86/audio_convert.asm

index 70e2cf2..654c827 100644 (file)
@@ -94,7 +94,7 @@ int32_to_int16_u_int %+ SUFFIX
 
 ;to, from, a/u, log2_outsize, log_intsize, const
 %macro PACK_2CH 5-7
-cglobal pack_2ch_%2_to_%1_%3, 3, 4, 5, dst, src, len, src2
+cglobal pack_2ch_%2_to_%1_%3, 3, 4, 6, dst, src, len, src2
     mov src2q   , [srcq+gprsize]
     mov srcq    , [srcq]
     mov dstq    , [dstq]