Browse Source

cosmetics after last commit

Originally committed as revision 19586 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Justin Ruggles 16 years ago
parent
commit
c36ea0600c
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      libavcodec/ac3dec.c

+ 2
- 4
libavcodec/ac3dec.c View File

@@ -730,8 +730,7 @@ static void ac3_upmix_delay(AC3DecodeContext *s)
static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, static void decode_band_structure(GetBitContext *gbc, int blk, int eac3,
int ecpl, int start_subband, int end_subband, int ecpl, int start_subband, int end_subband,
const uint8_t *default_band_struct, const uint8_t *default_band_struct,
int *num_bands,
uint8_t *band_sizes)
int *num_bands, uint8_t *band_sizes)
{ {
int subbnd, bnd, n_subbands, n_bands=0; int subbnd, bnd, n_subbands, n_bands=0;
uint8_t bnd_sz[22]; uint8_t bnd_sz[22];
@@ -881,8 +880,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
decode_band_structure(gbc, blk, s->eac3, 0, cpl_start_subband, decode_band_structure(gbc, blk, s->eac3, 0, cpl_start_subband,
cpl_end_subband, cpl_end_subband,
ff_eac3_default_cpl_band_struct, ff_eac3_default_cpl_band_struct,
&s->num_cpl_bands,
s->cpl_band_sizes);
&s->num_cpl_bands, s->cpl_band_sizes);
} else { } else {
/* coupling not in use */ /* coupling not in use */
for (ch = 1; ch <= fbw_channels; ch++) { for (ch = 1; ch <= fbw_channels; ch++) {


Loading…
Cancel
Save