[FFmpeg-cvslog] r20053 - trunk/libavcodec/ac3dec.c
jbr
subversion
Sun Sep 27 08:38:57 CEST 2009
Author: jbr
Date: Sun Sep 27 08:38:57 2009
New Revision: 20053
Log:
Move variable declaration to inside of loop.
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c Sun Sep 27 08:38:13 2009 (r20052)
+++ trunk/libavcodec/ac3dec.c Sun Sep 27 08:38:57 2009 (r20053)
@@ -412,11 +412,11 @@ static int decode_exponents(GetBitContex
*/
static void calc_transform_coeffs_cpl(AC3DecodeContext *s)
{
- int bin, band, ch, band_end;
+ int bin, band, ch;
bin = s->start_freq[CPL_CH];
for (band = 0; band < s->num_cpl_bands; band++) {
- band_end = bin + s->cpl_band_sizes[band];
+ int band_end = bin + s->cpl_band_sizes[band];
for (; bin < band_end; bin++) {
for (ch = 1; ch <= s->fbw_channels; ch++) {
if (s->channel_in_cpl[ch]) {
More information about the ffmpeg-cvslog
mailing list