simplify by combining increment with array access

Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2009-09-27 04:37:00 +00:00
parent be5830ea7a
commit 20520421a1
1 changed files with 1 additions and 2 deletions

View File

@ -109,8 +109,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd,
j=start; j=start;
k=bin_to_band_tab[start]; k=bin_to_band_tab[start];
do { do {
v=psd[j]; v = psd[j++];
j++;
end1 = FFMIN(band_start_tab[k+1], end); end1 = FFMIN(band_start_tab[k+1], end);
for (; j < end1; j++) { for (; j < end1; j++) {
/* logadd */ /* logadd */