Browse Source

silence a gcc warning about using an uninitialized variable

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

+ 1
- 1
libavcodec/ac3dec.c View File

@@ -749,8 +749,8 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3,
/* calculate number of bands and band sizes based on band structure.
note that the first 4 subbands in enhanced coupling span only 6 bins
instead of 12. */
n_bands = n_subbands;
if (num_bands || band_sizes ) {
n_bands = n_subbands;
bnd_sz[0] = ecpl ? 6 : 12;
for (bnd = 0, subbnd = 1; subbnd < n_subbands; subbnd++) {
int subbnd_size = (ecpl && subbnd < 4) ? 6 : 12;


Loading…
Cancel
Save