Author: kostya
Date: Wed Jul 30 13:36:37 2008
New Revision: 2909
Log:
49l Determine maximum nonzero band for all windows, not only the first one
Modified:
aacenc/aacpsy.c
Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c (original)
+++ aacenc/aacpsy.c Wed Jul 30 13:36:37 2008
@@ -132,7 +132,7 @@ static void psy_create_output(AACPsyCont
}
start += cpe->ch[ch].ics.swb_sizes[g];
}
- for(cmaxsfb = cpe->ch[ch].ics.num_swb; cmaxsfb > 0 &&
cpe->ch[ch].zeroes[0][cmaxsfb-1]; cmaxsfb--);
+ for(cmaxsfb = cpe->ch[ch].ics.num_swb; cmaxsfb > 0 &&
cpe->ch[ch].zeroes[w][cmaxsfb-1]; cmaxsfb--);
maxsfb = FFMAX(maxsfb, cmaxsfb);
}
cpe->ch[ch].ics.max_sfb = maxsfb;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc