diff options
author | Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de> | 2013-01-25 20:44:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-26 00:05:57 +0100 |
commit | dcbb920f1587d1fce777aae947a49304665436b5 (patch) | |
tree | 0bf6711bdb661e6996dd433d39f54fa9bc1c0ee0 /libavcodec/atrac3.c | |
parent | c6ef7641fc123ba68e391c572b39fea8135030fb (diff) | |
download | ffmpeg-streaming-dcbb920f1587d1fce777aae947a49304665436b5.zip ffmpeg-streaming-dcbb920f1587d1fce777aae947a49304665436b5.tar.gz |
Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r-- | libavcodec/atrac3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 56efa19..84c5c11 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; |