mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 04:52:09 +00:00
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>
This commit is contained in:
commit
830a567e96
@ -201,23 +201,23 @@ static void mix_1_to_2_fltp_flt_c(float **samples, float **matrix, int len,
|
|||||||
|
|
||||||
while (len > 4) {
|
while (len > 4) {
|
||||||
v = *src++;
|
v = *src++;
|
||||||
*dst0++ = v * m1;
|
*dst0++ = v * m0;
|
||||||
*dst1++ = v * m0;
|
*dst1++ = v * m1;
|
||||||
v = *src++;
|
v = *src++;
|
||||||
*dst0++ = v * m1;
|
*dst0++ = v * m0;
|
||||||
*dst1++ = v * m0;
|
*dst1++ = v * m1;
|
||||||
v = *src++;
|
v = *src++;
|
||||||
*dst0++ = v * m1;
|
*dst0++ = v * m0;
|
||||||
*dst1++ = v * m0;
|
*dst1++ = v * m1;
|
||||||
v = *src++;
|
v = *src++;
|
||||||
*dst0++ = v * m1;
|
*dst0++ = v * m0;
|
||||||
*dst1++ = v * m0;
|
*dst1++ = v * m1;
|
||||||
len -= 4;
|
len -= 4;
|
||||||
}
|
}
|
||||||
while (len > 0) {
|
while (len > 0) {
|
||||||
v = *src++;
|
v = *src++;
|
||||||
*dst0++ = v * m1;
|
*dst0++ = v * m0;
|
||||||
*dst1++ = v * m0;
|
*dst1++ = v * m1;
|
||||||
len--;
|
len--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user