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

libavcodec/aacdec.c:2023:19: Call
2021. 
2022.         case TYPE_DSE:
2023.             err = skip_data_stream_element(ac, &gb);
                        ^
2024.             break;
2025. 

libavcodec/aacdec.c:606:1: Parameter `*ac->avctx`
  604.  * Skip data_stream_element; reference: table 4.10.
  605.  */
  606. static int skip_data_stream_element(AACContext *ac, GetBitContext *gb)
       ^
  607. {
  608.     int byte_align = get_bits1(gb);

libavcodec/aacdec.c:2047:28: Call
2045.             }
2046.             while (elem_id > 0)
2047.                 elem_id -= decode_extension_payload(ac, &gb, elem_id, che_prev, elem_type_prev);
                                 ^
2048.             err = 0; /* FIXME */
2049.             break;

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

libavcodec/aacdec.c:1673:15: Call
  1671.             ac->m4ac.sbr = 1;
  1672.         }
  1673.         res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
                      ^
  1674.         break;
  1675.     case EXT_DYNAMIC_RANGE:

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

libavcodec/aacsbr.c:1066:9: Call
    1064. 
    1065.     if (sbr->reset)
    1066.         sbr_reset(ac, sbr);
                  ^
    1067. 
    1068.     if (sbr->start)

libavcodec/aacsbr.c:1016:1: Parameter `sbr->f_master[*]`
      1014. }
      1015. 
      1016. static void sbr_reset(AACContext *ac, SpectralBandReplication *sbr)
            ^
      1017. {
      1018.     int err;

libavcodec/aacsbr.c:1019:11: Call
      1017. {
      1018.     int err;
      1019.     err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params);
                      ^
      1020.     if (err >= 0)
      1021.         err = sbr_make_f_derived(ac, sbr);

libavcodec/aacsbr.c:300:1: <LHS trace>
298. 
299. /// Master Frequency Band Table (14496-3 sp04 p194)
300. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
     ^
301.                              SpectrumParameters *spectrum)
302. {

libavcodec/aacsbr.c:300:1: Parameter `sbr->f_master[*]`
        298. 
        299. /// Master Frequency Band Table (14496-3 sp04 p194)
        300. static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
             ^
        301.                              SpectrumParameters *spectrum)
        302. {

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