[FFmpeg-cvslog] Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
Michael Karcher
git at videolan.org
Sat Jan 26 00:12:52 CET 2013
ffmpeg | branch: master | Michael Karcher <ffmpeg at mkarcher.dialup.fu-berlin.de> | Fri Jan 25 20:44:50 2013 +0100| [dcbb920f1587d1fce777aae947a49304665436b5] | committer: Michael Niedermayer
Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
Signed-off-by: Michael Karcher <ffmpeg at mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcbb920f1587d1fce777aae947a49304665436b5
---
libavcodec/atrac3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list