libavcodec/aacsbr.c:1021: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `sbr_make_f_derived`.

libavcodec/aacsbr.c:1019:11: Call
1017. {
1018.     int err;
1019.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
                ^
1020.     if (err >= 0)
1021.         err = sbr_make_f_derived(ac, sbr);

libavcodec/aacsbr.c:300:1: Parameter `sbr->k[*]`
  298. 
  299. /// Master Frequency Band Table (14496-3 sp04 p194)
  300. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
       ^
  301.                              SpectrumParameters *spectrum)
  302. {

libavcodec/aacsbr.c:1021:15: Call
1019.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
1020.     if (err >= 0)
1021.         err = sbr_make_f_derived(ac, sbr);
                    ^
1022.     if (err < 0) {
1023.         av_log(ac->avctx, AV_LOG_ERROR,

libavcodec/aacsbr.c:539:1: Parameter `sbr->k[*]`
  537. 
  538. /// Derived Frequency Band Tables (14496-3 sp04 p197)
  539. static int sbr_make_f_derived(AACContext *ac, SpectralBandReplication *sbr)
       ^
  540. {
  541.     int k, temp;

libavcodec/aacsbr.c:581:9: Call
  579.     }
  580. 
  581.     if (sbr_hf_calc_npatches(ac, sbr) < 0)
               ^
  582.         return -1;
  583. 

libavcodec/aacsbr.c:488:1: <LHS trace>
486. 
487. /// High Frequency Generation - Patch Construction (14496-3 sp04 p216 fig. 4.46)
488. static int sbr_hf_calc_npatches(AACContext *ac, SpectralBandReplication *sbr)
     ^
489. {
490.     int i, k, sb = 0;

libavcodec/aacsbr.c:488:1: Parameter `sbr->f_master[*]`
    486. 
    487. /// High Frequency Generation - Patch Construction (14496-3 sp04 p216 fig. 4.46)
    488. static int sbr_hf_calc_npatches(AACContext *ac, SpectralBandReplication *sbr)
         ^
    489. {
    490.     int i, k, sb = 0;

libavcodec/aacsbr.c:504:31: Binary operation: ([0, +oo] - 1):unsigned32 by call to `sbr_make_f_derived` 
    502.     do {
    503.         int odd = 0;
    504.         for (i = k; i == k || sb > (sbr->k[0] - 1 + msb - odd); i--) {
                                       ^
    505.             sb = sbr->f_master[i];
    506.             odd = (sb + sbr->k[0]) & 1;
