mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-11 17:30:00 +01:00
Fix atrac3 decoder broken in e55d53905f
Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit dcbb920f15)
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
33769e908d
commit
302094e1d2
@@ -518,7 +518,7 @@ static int add_tonal_components(float *spectrum, int num_components,
|
|||||||
output = &spectrum[components[i].pos];
|
output = &spectrum[components[i].pos];
|
||||||
|
|
||||||
for (j = 0; j < components[i].num_coefs; j++)
|
for (j = 0; j < components[i].num_coefs; j++)
|
||||||
output[i] += input[i];
|
output[j] += input[j];
|
||||||
}
|
}
|
||||||
|
|
||||||
return last_pos;
|
return last_pos;
|
||||||
|
|||||||
Reference in New Issue
Block a user