simplify by combining increment with array access

Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Justin Ruggles 16 years ago
parent be5830ea7a
commit 20520421a1
  1. 3
      libavcodec/ac3.c

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

Loading…
Cancel
Save