diff options
author | Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de> | 2013-01-25 15:03:53 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-25 16:16:24 -0500 |
commit | 0e3afacd4d8fbe1c21e0bc16bd707809cd87380f (patch) | |
tree | 526830bf22dd54e203bb79d1d921a3c27ae3c962 /libavcodec | |
parent | ded3673d77943c376d94e8157b1238bbd1eeca2d (diff) | |
download | ffmpeg-0e3afacd4d8fbe1c21e0bc16bd707809cd87380f.tar.gz |
atrac3: use correct loop variable in add_tonal_components()
Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
CC:libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-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 312b283883..a46b0b1277 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -517,7 +517,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; |