Commit 33775c35 authored by Michael Niedermayer's avatar Michael Niedermayer

search_for_quantizers_faac: fix curband

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f6d952f5
......@@ -878,7 +878,7 @@ static void search_for_quantizers_faac(AVCodecContext *avctx, AACEncContext *s,
} else {
for (w = 0; w < 8; w++) {
const float *coeffs = sce->coeffs + w*128;
start = 0;
curband = start = 0;
for (i = 0; i < 128; i++) {
if (i - start >= sce->ics.swb_sizes[curband]) {
start += sce->ics.swb_sizes[curband];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment