Mercurial > libavcodec.hg
changeset 8255:1c4ec499557e libavcodec
silence gcc warning: ¡Æn_bands¡Ç may be used uninitialized
author | jbr |
---|---|
date | Thu, 04 Dec 2008 02:56:25 +0000 |
parents | be0f5221ccd0 |
children | 765685da1483 |
files | ac3dec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Thu Dec 04 02:51:39 2008 +0000 +++ b/ac3dec.c Thu Dec 04 02:56:25 2008 +0000 @@ -730,7 +730,7 @@ uint8_t *band_struct, int *num_subbands, int *num_bands, uint8_t *band_sizes) { - int subbnd, bnd, n_subbands, n_bands; + int subbnd, bnd, n_subbands, n_bands=0; uint8_t bnd_sz[22]; n_subbands = end_subband - start_subband;