You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
aacsbr: Silence warning: max_qmf_subbands may be used uninitialized in this function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -399,6 +399,8 @@ static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
|
||||
max_qmf_subbands = 35;
|
||||
} else if (sbr->sample_rate >= 48000)
|
||||
max_qmf_subbands = 32;
|
||||
else
|
||||
av_assert0(0);
|
||||
|
||||
if (sbr->k[2] - sbr->k[0] > max_qmf_subbands) {
|
||||
av_log(ac->avctx, AV_LOG_ERROR,
|
||||
|
Reference in New Issue
Block a user