summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Karcher <[email protected]>2013-01-25 20:44:50 +0100
committerMichael Niedermayer <[email protected]>2013-01-26 00:05:57 +0100
commitdcbb920f1587d1fce777aae947a49304665436b5 (patch)
tree0bf6711bdb661e6996dd433d39f54fa9bc1c0ee0
parentc6ef7641fc123ba68e391c572b39fea8135030fb (diff)
Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
Signed-off-by: Michael Karcher <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavcodec/atrac3.c2
1 files changed, 1 insertions, 1 deletions
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;