From f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 4 Dec 2008 02:56:25 +0000 Subject: [PATCH] =?UTF-8?q?silence=20gcc=20warning:=20=E2=80=98n=5Fbands?= =?UTF-8?q?=E2=80=99=20may=20be=20used=20uninitialized?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index ce473edf2f..83edfe5d02 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;