Mercurial > libavcodec.hg
diff ac3dec.c @ 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 | 4dd63fc58a87 |
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;
