Commit f23dc1e1 authored by Justin Ruggles's avatar Justin Ruggles

silence gcc warning: ‘n_bands’ may be used uninitialized

Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 75b53b21
...@@ -730,7 +730,7 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, ...@@ -730,7 +730,7 @@ static void decode_band_structure(GetBitContext *gbc, int blk, int eac3,
uint8_t *band_struct, int *num_subbands, uint8_t *band_struct, int *num_subbands,
int *num_bands, uint8_t *band_sizes) 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]; uint8_t bnd_sz[22];
n_subbands = end_subband - start_subband; n_subbands = end_subband - start_subband;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment