Skip to content

Commit

Permalink
aacsbr: always initialize max_qmf_subbands
Browse files Browse the repository at this point in the history
Fixes a wordly warning from clang -Wsometimes-uninitialized.
  • Loading branch information
kodawah committed Nov 24, 2014
1 parent 55b59fa commit 208f3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/aacsbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static int check_n_master(AVCodecContext *avctx, int n_master, int bs_xover_band
static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
SpectrumParameters *spectrum)
{
unsigned int temp, max_qmf_subbands;
unsigned int temp, max_qmf_subbands = 0;
unsigned int start_min, stop_min;
int k;
const int8_t *sbr_offset_ptr;
Expand Down

0 comments on commit 208f3ab

Please sign in to comment.