diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-02 16:40:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-10-12 15:06:55 +0200 |
commit | df6737a55f5dc7c0ae5272bc5fa6182836d5481c (patch) | |
tree | 2803b3ee5fa03934e51bc367374a75fa5a7864a0 | |
parent | a52b5a5a07b0d432f9bed90b6d56647f8d44fbce (diff) | |
download | ffmpeg-df6737a55f5dc7c0ae5272bc5fa6182836d5481c.tar.gz |
audio_mix: fix channel order in mix_1_to_2_fltp_flt_c
CC:libav-stable@libav.org
-rw-r--r-- | libavresample/audio_mix.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c index e6f941727c..073609e7ee 100644 --- a/libavresample/audio_mix.c +++ b/libavresample/audio_mix.c @@ -201,23 +201,23 @@ static void mix_1_to_2_fltp_flt_c(float **samples, float **matrix, int len, while (len > 4) { v = *src++; - *dst0++ = v * m1; - *dst1++ = v * m0; + *dst0++ = v * m0; + *dst1++ = v * m1; v = *src++; - *dst0++ = v * m1; - *dst1++ = v * m0; + *dst0++ = v * m0; + *dst1++ = v * m1; v = *src++; - *dst0++ = v * m1; - *dst1++ = v * m0; + *dst0++ = v * m0; + *dst1++ = v * m1; v = *src++; - *dst0++ = v * m1; - *dst1++ = v * m0; + *dst0++ = v * m0; + *dst1++ = v * m1; len -= 4; } while (len > 0) { v = *src++; - *dst0++ = v * m1; - *dst1++ = v * m0; + *dst0++ = v * m0; + *dst1++ = v * m1; len--; } } |