libavcodec/mpegaudiodec.c:2080: error: Buffer Overrun L2
  Offset: [0, 9] Size: 9 by call to `mp_decode_frame`.

libavcodec/mpegaudiodec.c:2066:19: Call
2064.         assert(m != NULL);
2065. 
2066.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
                        ^
2067. 
2068.         if (ff_mpa_check_header(header) < 0) // Bad header, discard block

libavutil/bswap.h:66:1: Parameter `x`
  64. 
  65. #ifndef av_bswap32
  66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
      ^
  67. {
  68.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:68:5: Assignment
  66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
  67. {
  68.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
          ^
  69.     x= (x>>16) | (x<<16);
  70.     return x;

libavutil/bswap.h:69:5: Assignment
  67. {
  68.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
  69.     x= (x>>16) | (x<<16);
          ^
  70.     return x;
  71. }

libavutil/bswap.h:70:5: Assignment
  68.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
  69.     x= (x>>16) | (x<<16);
  70.     return x;
          ^
  71. }
  72. #endif

libavcodec/mpegaudiodec.c:2066:9: Assignment
2064.         assert(m != NULL);
2065. 
2066.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
              ^
2067. 
2068.         if (ff_mpa_check_header(header) < 0) // Bad header, discard block

libavcodec/mpegaudiodec.c:2071:9: Call
2069.             break;
2070. 
2071.         avpriv_mpegaudio_decode_header((MPADecodeHeader *)m, header);
              ^
2072. 
2073.         if (ch + m->nb_channels > avctx->channels) {

libavcodec/mpegaudiodecheader.c:40:9: Assignment
  38.     if (header & (1<<20)) {
  39.         s->lsf = (header & (1<<19)) ? 0 : 1;
  40.         mpeg25 = 0;
              ^
  41.     } else {
  42.         s->lsf = 1;

libavcodec/mpegaudiodecheader.c:50:5: Assignment
  48.     sample_rate_index = (header >> 10) & 3;
  49.     sample_rate = avpriv_mpa_freq_tab[sample_rate_index] >> (s->lsf + mpeg25);
  50.     sample_rate_index += 3 * (s->lsf + mpeg25);
          ^
  51.     s->sample_rate_index = sample_rate_index;
  52.     s->error_protection = ((header >> 16) & 1) ^ 1;

libavcodec/mpegaudiodecheader.c:51:5: Assignment
  49.     sample_rate = avpriv_mpa_freq_tab[sample_rate_index] >> (s->lsf + mpeg25);
  50.     sample_rate_index += 3 * (s->lsf + mpeg25);
  51.     s->sample_rate_index = sample_rate_index;
          ^
  52.     s->error_protection = ((header >> 16) & 1) ^ 1;
  53.     s->sample_rate = sample_rate;

libavcodec/mpegaudiodec.c:2080:21: Call
2078.         ch += m->nb_channels;
2079. 
2080.         out_size += mp_decode_frame(m, outptr, buf, fsize);
                          ^
2081.         buf      += fsize;
2082.         len      -= fsize;

libavcodec/mpegaudiodec.c:1695:1: Parameter `s->sample_rate_index`
  1693. }
  1694. 
  1695. static int mp_decode_frame(MPADecodeContext *s, OUT_INT *samples,
        ^
  1696.                            const uint8_t *buf, int buf_size)
  1697. {

libavcodec/mpegaudiodec.c:1719:21: Call
  1717.         s->avctx->frame_size = s->lsf ? 576 : 1152;
  1718.     default:
  1719.         nb_frames = mp_decode_layer3(s);
                            ^
  1720. 
  1721.         s->last_buf_size=0;

libavcodec/mpegaudiodec.c:1451:1: Parameter `s->sample_rate_index`
    1449. 
    1450. /* main layer3 decoding function */
    1451. static int mp_decode_layer3(MPADecodeContext *s)
          ^
    1452. {
    1453.     int nb_granules, main_data_begin;

libavcodec/mpegaudiodec.c:1673:13: Call
    1671.             }
    1672. 
    1673.             exponents_from_scale_factors(s, g, exponents);
                      ^
    1674. 
    1675.             /* read Huffman coded residue */

libavcodec/mpegaudiodec.c:925:1: <Offset trace>
923. }
924. 
925. static void exponents_from_scale_factors(MPADecodeContext *s, GranuleDef *g,
     ^
926.                                          int16_t *exponents)
927. {

libavcodec/mpegaudiodec.c:925:1: Parameter `s->sample_rate_index`
      923. }
      924. 
      925. static void exponents_from_scale_factors(MPADecodeContext *s, GranuleDef *g,
           ^
      926.                                          int16_t *exponents)
      927. {

libavcodec/mpegaudiodectab.h:572:1: <Length trace>
570. 
571. /* band size tables */
572. static const uint8_t band_size_long[9][22] = {
     ^
573. { 4, 4, 4, 4, 4, 4, 6, 6, 8, 8, 10,
574.   12, 16, 20, 24, 28, 34, 42, 50, 54, 76, 158, }, /* 44100 */

libavcodec/mpegaudiodectab.h:572:1: Array declaration
      570. 
      571. /* band size tables */
      572. static const uint8_t band_size_long[9][22] = {
           ^
      573. { 4, 4, 4, 4, 4, 4, 6, 6, 8, 8, 10,
      574.   12, 16, 20, 24, 28, 34, 42, 50, 54, 76, 158, }, /* 44100 */

libavcodec/mpegaudiodec.c:936:5: Array access: Offset: [0, 9] Size: 9 by call to `mp_decode_frame` 
      934.     shift   = g->scalefac_scale + 1;
      935. 
      936.     bstab  = band_size_long[s->sample_rate_index];
               ^
      937.     pretab = mpa_pretab[g->preflag];
      938.     for (i = 0; i < g->long_end; i++) {
