[FFmpeg-cvslog] r20041 - trunk/libavcodec/ac3.c
jbr
subversion
Sun Sep 27 06:47:38 CEST 2009
Author: jbr
Date: Sun Sep 27 06:47:38 2009
New Revision: 20041
Log:
Simplify by combining increment with array access.
Modified:
trunk/libavcodec/ac3.c
Modified: trunk/libavcodec/ac3.c
==============================================================================
--- trunk/libavcodec/ac3.c Sun Sep 27 06:46:56 2009 (r20040)
+++ trunk/libavcodec/ac3.c Sun Sep 27 06:47:38 2009 (r20041)
@@ -116,8 +116,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *e
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]);
}
More information about the ffmpeg-cvslog
mailing list