libavcodec/aacdec.c:2564: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned16 by call to `decode_extension_payload`.

libavcodec/aacdec.c:2481:20: Call
2479. 
2480.     if (show_bits(gb, 12) == 0xfff) {
2481.         if ((err = parse_adts_frame_header(ac, gb)) < 0) {
                         ^
2482.             av_log(avctx, AV_LOG_ERROR, "Error decoding AAC frame header.\n");
2483.             goto fail;

libavcodec/aacdec.c:2447:24: Call
  2445.                                                   hdr_info.chan_config)) < 0)
  2446.                 return ret;
  2447.             if ((ret = output_configure(ac, layout_map, layout_map_tags,
                               ^
  2448.                                         FFMAX(ac->oc[1].status,
  2449.                                               OC_TRIAL_FRAME), 0)) < 0)

libavcodec/aacdec.c:2564:28: Call
2562.             }
2563.             while (elem_id > 0)
2564.                 elem_id -= decode_extension_payload(ac, gb, elem_id, che_prev, elem_type_prev);
                                 ^
2565.             err = 0; /* FIXME */
2566.             break;

libavcodec/aacdec.c:2031:1: Parameter `che->sbr.f_master[*]`
  2029.  * @return Returns number of bytes consumed
  2030.  */
  2031. static int decode_extension_payload(AACContext *ac, GetBitContext *gb, int cnt,
        ^
  2032.                                     ChannelElement *che, enum RawDataBlockType elem_type)
  2033. {

libavcodec/aacdec.c:2059:15: Call
  2057.             ac->oc[1].m4ac.sbr = 1;
  2058.         }
  2059.         res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
                      ^
  2060.         break;
  2061.     case EXT_DYNAMIC_RANGE:

libavcodec/aacsbr.c:1061:1: Parameter `sbr->f_master[*]`
    1059.  * @return  Returns number of bytes consumed from the TYPE_FIL element.
    1060.  */
    1061. int ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
          ^
    1062.                             GetBitContext *gb_host, int crc, int cnt, int id_aac)
    1063. {

libavcodec/aacsbr.c:1091:9: Call
    1089. 
    1090.     if (sbr->reset)
    1091.         sbr_reset(ac, sbr);
                  ^
    1092. 
    1093.     if (sbr->start)

libavcodec/aacsbr.c:1040:1: Parameter `sbr->f_master[*]`
      1038. }
      1039. 
      1040. static void sbr_reset(AACContext *ac, SpectralBandReplication *sbr)
            ^
      1041. {
      1042.     int err;

libavcodec/aacsbr.c:1043:11: Call
      1041. {
      1042.     int err;
      1043.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
                      ^
      1044.     if (err >= 0)
      1045.         err = sbr_make_f_derived(ac, sbr);

libavcodec/aacsbr.c:321:1: <LHS trace>
319. 
320. /// Master Frequency Band Table (14496-3 sp04 p194)
321. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
     ^
322.                              SpectrumParameters *spectrum)
323. {

libavcodec/aacsbr.c:321:1: Parameter `sbr->f_master[*]`
        319. 
        320. /// Master Frequency Band Table (14496-3 sp04 p194)
        321. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
             ^
        322.                              SpectrumParameters *spectrum)
        323. {

libavcodec/aacsbr.c:411:13: Binary operation: ([0, +oo] - 1):unsigned16 by call to `decode_extension_payload` 
        409.         k2diff = sbr->k[2] - sbr->k[0] - sbr->n_master * dk;
        410.         if (k2diff < 0) {
        411.             sbr->f_master[1]--;
                         ^
        412.             sbr->f_master[2]-= (k2diff < -1);
        413.         } else if (k2diff) {
