From 20520421a120ee86362548e53b4225ebb69d3aee Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 27 Sep 2009 04:37:00 +0000 Subject: [PATCH] simplify by combining increment with array access Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c index 963ecb2..41bc134 100644 --- a/libavcodec/ac3.c +++ b/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 */ -- 2.7.4