aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-13 06:42:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-13 06:48:35 +0200
commit830a567e96a232943aad93ff67e73471aad19f55 (patch)
tree3d576a2d9c460858f43255ac25ee35930660fc62 /libavresample
parent87fe0bbd69bfd70558d2d80a1768f94e6d14ed5a (diff)
parentdf6737a55f5dc7c0ae5272bc5fa6182836d5481c (diff)
downloadffmpeg-830a567e96a232943aad93ff67e73471aad19f55.tar.gz
Merge commit 'df6737a55f5dc7c0ae5272bc5fa6182836d5481c'
* commit 'df6737a55f5dc7c0ae5272bc5fa6182836d5481c': audio_mix: fix channel order in mix_1_to_2_fltp_flt_c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavresample')
-rw-r--r--libavresample/audio_mix.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c
index 0e7f469a38..1b48fe5600 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--;
}
}