mirror of https://git.ffmpeg.org/ffmpeg.git
simplify by combining increment with array access
Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
be5830ea7a
commit
20520421a1
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue