mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Simplify by combining increment with array access.
Originally committed as revision 20041 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
89e6317b5b
commit
bf8643838b
@ -116,8 +116,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd,
|
||||
int adr = FFMIN(FFABS(v - psd[bin]) >> 1, 255);
|
||||
v = FFMAX(v, psd[bin]) + ff_ac3_log_add_tab[adr];
|
||||
}
|
||||
band_psd[band] = v;
|
||||
band++;
|
||||
band_psd[band++] = v;
|
||||
} while (end > band_start_tab[band]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user