Commit df6737a5 authored by Anton Khirnov's avatar Anton Khirnov

audio_mix: fix channel order in mix_1_to_2_fltp_flt_c

CC:libav-stable@libav.org
parent a52b5a5a
......@@ -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--;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment