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

libavcodec/aacsbr.c:947:11: Call
945. {
946.     int err;
947.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
               ^
948.     if (err >= 0)
949.         err = sbr_make_f_derived(ac, sbr);

libavcodec/aacsbr.c:311:1: Parameter `sbr->k[*]`
  309. 
  310. /// Master Frequency Band Table (14496-3 sp04 p194)
  311. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
       ^
  312.                              SpectrumParameters *spectrum)
  313. {

libavcodec/aacsbr.c:949:15: Call
947.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
948.     if (err >= 0)
949.         err = sbr_make_f_derived(ac, sbr);
                   ^
950.     if (err < 0) {
951.         av_log(ac->avccontext, AV_LOG_ERROR,

libavcodec/aacsbr.c:548:1: Parameter `sbr->k[*]`
  546. 
  547. /// Derived Frequency Band Tables (14496-3 sp04 p197)
  548. static int sbr_make_f_derived(AACContext *ac, SpectralBandReplication *sbr)
       ^
  549. {
  550.     int k, temp;

libavcodec/aacsbr.c:590:9: Call
  588.     }
  589. 
  590.     if (sbr_hf_calc_npatches(ac, sbr) < 0)
               ^
  591.         return -1;
  592. 

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

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

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