Mercurial > libavcodec.hg
changeset 8138:bc8758d59a21 libavcodec
silence a gcc warning about using an uninitialized variable
author | jbr |
---|---|
date | Thu, 13 Nov 2008 03:18:24 +0000 |
parents | c6993d9ed77c |
children | f6f70b671287 |
files | ac3dec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Thu Nov 13 03:18:18 2008 +0000 +++ b/ac3dec.c Thu Nov 13 03:18:24 2008 +0000 @@ -749,8 +749,8 @@ /* 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;