You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
aacsbr: always initialize max_qmf_subbands
Fixes a wordly warning from clang -Wsometimes-uninitialized.
This commit is contained in:
@@ -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,
|
static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
|
||||||
SpectrumParameters *spectrum)
|
SpectrumParameters *spectrum)
|
||||||
{
|
{
|
||||||
unsigned int temp, max_qmf_subbands;
|
unsigned int temp, max_qmf_subbands = 0;
|
||||||
unsigned int start_min, stop_min;
|
unsigned int start_min, stop_min;
|
||||||
int k;
|
int k;
|
||||||
const int8_t *sbr_offset_ptr;
|
const int8_t *sbr_offset_ptr;
|
||||||
|
Reference in New Issue
Block a user