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

libavcodec/mpegaudiodec.c:2269:19: Call
2267.         assert (m != NULL);
2268. 
2269.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
                        ^
2270. 
2271.         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:2269:9: Assignment
2267.         assert (m != NULL);
2268. 
2269.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
              ^
2270. 
2271.         if (ff_mpa_check_header(header) < 0) // Bad header, discard block

libavcodec/mpegaudiodec.c:2274:9: Call
2272.             break;
2273. 
2274.         ff_mpegaudio_decode_header((MPADecodeHeader *)m, header);
              ^
2275.         out_size += mp_decode_frame(m, outptr, buf, fsize);
2276.         buf += fsize;

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 = ff_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 = ff_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:2275:21: Call
2273. 
2274.         ff_mpegaudio_decode_header((MPADecodeHeader *)m, header);
2275.         out_size += mp_decode_frame(m, outptr, buf, fsize);
                          ^
2276.         buf += fsize;
2277.         len -= fsize;

libavcodec/mpegaudiodec.c:1955:1: Parameter `s->sample_rate_index`
  1953. }
  1954. 
  1955. static int mp_decode_frame(MPADecodeContext *s,
        ^
  1956.                            OUT_INT *samples, const uint8_t *buf, int buf_size)
  1957. {

libavcodec/mpegaudiodec.c:1980:21: Call
  1978.         s->avctx->frame_size = s->lsf ? 576 : 1152;
  1979.     default:
  1980.         nb_frames = mp_decode_layer3(s);
                            ^
  1981. 
  1982.         s->last_buf_size=0;

libavcodec/mpegaudiodec.c:1711:1: Parameter `s->sample_rate_index`
    1709. 
    1710. /* main layer3 decoding function */
    1711. static int mp_decode_layer3(MPADecodeContext *s)
          ^
    1712. {
    1713.     int nb_granules, main_data_begin, private_bits;

libavcodec/mpegaudiodec.c:1933:13: Call
    1931.             }
    1932. 
    1933.             exponents_from_scale_factors(s, g, exponents);
                      ^
    1934. 
    1935.             /* read Huffman coded residue */

libavcodec/mpegaudiodec.c:1184:1: <Offset trace>
1182. }
1183. 
1184. static void exponents_from_scale_factors(MPADecodeContext *s,
      ^
1185.                                          GranuleDef *g,
1186.                                          int16_t *exponents)

libavcodec/mpegaudiodec.c:1184:1: Parameter `s->sample_rate_index`
      1182. }
      1183. 
      1184. static void exponents_from_scale_factors(MPADecodeContext *s,
            ^
      1185.                                          GranuleDef *g,
      1186.                                          int16_t *exponents)

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

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

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