From dcbb920f1587d1fce777aae947a49304665436b5 Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Fri, 25 Jan 2013 20:44:50 +0100 Subject: Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f Signed-off-by: Michael Karcher Signed-off-by: Michael Niedermayer --- libavcodec/atrac3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/atrac3.c') diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 56efa19466..84c5c11fca 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -518,7 +518,7 @@ static int add_tonal_components(float *spectrum, int num_components, output = &spectrum[components[i].pos]; for (j = 0; j < components[i].num_coefs; j++) - output[i] += input[i]; + output[j] += input[j]; } return last_pos; -- cgit v1.2.3