Commit 41bebfdb authored by jbr's avatar jbr

simplify by combining increment with array access


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20038 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 30c7e675
...@@ -109,8 +109,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd, ...@@ -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 */
......
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