libavcodec/aacdec.c:2564: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 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.n[*]`
  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->n[*]`
    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:1088:25: Call
    1086.     num_sbr_bits++;
    1087.     if (get_bits1(gb)) // bs_header_flag
    1088.         num_sbr_bits += read_sbr_header(sbr, gb);
                                  ^
    1089. 
    1090.     if (sbr->reset)

libavcodec/aacsbr.c:224:1: Parameter `sbr->n[*]`
      222. }
      223. 
      224. static unsigned int read_sbr_header(SpectralBandReplication *sbr, GetBitContext *gb)
           ^
      225. {
      226.     unsigned int cnt = get_bits_count(gb);

libavcodec/aacsbr.c:273:9: Call
      271. 
      272.     if (sbr->bs_limiter_bands != old_bs_limiter_bands && !sbr->reset)
      273.         sbr_make_f_tablelim(sbr);
                   ^
      274. 
      275.     return get_bits_count(gb) - cnt;

libavcodec/aacsbr.c:177:1: <LHS trace>
175. 
176. /// Limiter Frequency Band Table (14496-3 sp04 p198)
177. static void sbr_make_f_tablelim(SpectralBandReplication *sbr)
     ^
178. {
179.     int k;

libavcodec/aacsbr.c:177:1: Parameter `sbr->n[*]`
        175. 
        176. /// Limiter Frequency Band Table (14496-3 sp04 p198)
        177. static void sbr_make_f_tablelim(SpectralBandReplication *sbr)
             ^
        178. {
        179.     int k;

libavcodec/aacsbr.c:202:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `decode_extension_payload` 
        200.               qsort_comparison_function_int16);
        201. 
        202.         sbr->n_lim = sbr->n[0] + sbr->num_patches - 1;
                     ^
        203.         while (out < sbr->f_tablelim + sbr->n_lim) {
        204.             if (*in >= *out * lim_bands_per_octave_warped) {
