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

libavcodec/aacdec.c:2363:13: Call
2361. 
2362.     if (show_bits(gb, 12) == 0xfff) {
2363.         if (parse_adts_frame_header(ac, gb) < 0) {
                  ^
2364.             av_log(avctx, AV_LOG_ERROR, "Error decoding AAC frame header.\n");
2365.             err = -1;

libavcodec/aacdec.c:2332:17: Call
  2330.                     &layout_map_tags, hdr_info.chan_config))
  2331.                 return -7;
  2332.             if (output_configure(ac, layout_map, layout_map_tags,
                        ^
  2333.                                  FFMAX(ac->oc[1].status, OC_TRIAL_FRAME)))
  2334.                 return -7;

libavcodec/aacdec.c:2444:28: Call
2442.             }
2443.             while (elem_id > 0)
2444.                 elem_id -= decode_extension_payload(ac, gb, elem_id, che_prev, elem_type_prev);
                                 ^
2445.             err = 0; /* FIXME */
2446.             break;

libavcodec/aacdec.c:1919:1: Parameter `che->sbr.n[*]`
  1917.  * @return Returns number of bytes consumed
  1918.  */
  1919. static int decode_extension_payload(AACContext *ac, GetBitContext *gb, int cnt,
        ^
  1920.                                     ChannelElement *che, enum RawDataBlockType elem_type)
  1921. {

libavcodec/aacdec.c:1947:15: Call
  1945.             ac->oc[1].m4ac.sbr = 1;
  1946.         }
  1947.         res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
                      ^
  1948.         break;
  1949.     case EXT_DYNAMIC_RANGE:

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

libavcodec/aacsbr.c:1090:25: Call
    1088.     num_sbr_bits++;
    1089.     if (get_bits1(gb)) // bs_header_flag
    1090.         num_sbr_bits += read_sbr_header(sbr, gb);
                                  ^
    1091. 
    1092.     if (sbr->reset)

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

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

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

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

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