diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-11-13 03:18:24 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-11-13 03:18:24 +0000 |
commit | c763f86728f1ae8c64794dc1a2451777539e382d (patch) | |
tree | b740aaaad341b06ae9daca2c0908664286568316 /libavcodec/ac3dec.c | |
parent | 66561189a1d91a476ef592e230ec6b73e59ca9a7 (diff) | |
download | ffmpeg-streaming-c763f86728f1ae8c64794dc1a2451777539e382d.zip ffmpeg-streaming-c763f86728f1ae8c64794dc1a2451777539e382d.tar.gz |
silence a gcc warning about using an uninitialized variable
Originally committed as revision 15814 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 6d0f82b..352a7aa 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -749,8 +749,8 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, /* 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; |