[FFmpeg-devel] [PATCH] Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
ffmpeg at mkarcher.dialup.fu-berlin.de
ffmpeg at mkarcher.dialup.fu-berlin.de
Fri Jan 25 20:44:50 CET 2013
From: Michael Karcher <ffmpeg at mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Karcher <ffmpeg at mkarcher.dialup.fu-berlin.de>
---
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;
--
1.7.10.4
More information about the ffmpeg-devel
mailing list