diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-12-04 02:56:25 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-12-04 02:56:25 +0000 |
commit | f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8 (patch) | |
tree | e17b3b1caf380a8e2b86e5117de571c172d829cd /libavcodec/ac3dec.c | |
parent | 75b53b212354b142498223c48b6994c335e40626 (diff) | |
download | ffmpeg-streaming-f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8.zip ffmpeg-streaming-f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8.tar.gz |
silence gcc warning: ‘n_bands’ may be used uninitialized
Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index ce473ed..83edfe5 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -730,7 +730,7 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, 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; |