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

libavcodec/aacdec.c:2791:23: Call
2789. 
2790.         if (elem_type < TYPE_DSE) {
2791.             if (!(che=get_che(ac, elem_type, elem_id))) {
                            ^
2792.                 av_log(ac->avctx, AV_LOG_ERROR, "channel element %d.%d is not allocated\n",
2793.                        elem_type, elem_id);

libavcodec/aacdec.c:526:13: Call
  524.                                        &layout_map_tags, 2) < 0)
  525.             return NULL;
  526.         if (output_configure(ac, layout_map, layout_map_tags,
                   ^
  527.                              OC_TRIAL_FRAME, 1) < 0)
  528.             return NULL;

libavcodec/aacdec.c:2854:28: Call
2852.             }
2853.             while (elem_id > 0)
2854.                 elem_id -= decode_extension_payload(ac, gb, elem_id, che_prev, elem_type_prev);
                                 ^
2855.             err = 0; /* FIXME */
2856.             break;

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

libavcodec/aacdec.c:2195:15: Call
  2193.             ac->avctx->profile = FF_PROFILE_AAC_HE;
  2194.         }
  2195.         res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
                      ^
  2196.         break;
  2197.     case EXT_DYNAMIC_RANGE:

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

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

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

libavcodec/aacsbr.c:1044:11: Call
      1042. {
      1043.     int err;
      1044.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
                      ^
      1045.     if (err >= 0)
      1046.         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) {
