Commit d49b29f0 authored by jbr's avatar jbr

silence a gcc warning about using an uninitialized variable


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15814 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 73812bb4
...@@ -749,8 +749,8 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, ...@@ -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. /* calculate number of bands and band sizes based on band structure.
note that the first 4 subbands in enhanced coupling span only 6 bins note that the first 4 subbands in enhanced coupling span only 6 bins
instead of 12. */ instead of 12. */
if (num_bands || band_sizes ) {
n_bands = n_subbands; n_bands = n_subbands;
if (num_bands || band_sizes ) {
bnd_sz[0] = ecpl ? 6 : 12; bnd_sz[0] = ecpl ? 6 : 12;
for (bnd = 0, subbnd = 1; subbnd < n_subbands; subbnd++) { for (bnd = 0, subbnd = 1; subbnd < n_subbands; subbnd++) {
int subbnd_size = (ecpl && subbnd < 4) ? 6 : 12; int subbnd_size = (ecpl && subbnd < 4) ? 6 : 12;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment