libavcodec/mpegaudiodec.c:2080: error: Buffer Overrun L2
  Offset: [0, 8] Size: 2 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->nb_channels`
  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:1710:21: Call
  1708.     case 1:
  1709.         s->avctx->frame_size = 384;
  1710.         nb_frames = mp_decode_layer1(s);
                            ^
  1711.         break;
  1712.     case 2:

libavcodec/mpegaudiodec.c:644:1: <Offset trace>
642. 
643. /* return the number of decoded frames */
644. static int mp_decode_layer1(MPADecodeContext *s)
     ^
645. {
646.     int bound, i, v, n, ch, j, mant;

libavcodec/mpegaudiodec.c:644:1: Parameter `s->nb_channels`
    642. 
    643. /* return the number of decoded frames */
    644. static int mp_decode_layer1(MPADecodeContext *s)
         ^
    645. {
    646.     int bound, i, v, n, ch, j, mant;

libavcodec/mpegaudiodec.c:644:1: <Length trace>
642. 
643. /* return the number of decoded frames */
644. static int mp_decode_layer1(MPADecodeContext *s)
     ^
645. {
646.     int bound, i, v, n, ch, j, mant;

libavcodec/mpegaudiodec.c:644:1: Array declaration
    642. 
    643. /* return the number of decoded frames */
    644. static int mp_decode_layer1(MPADecodeContext *s)
         ^
    645. {
    646.     int bound, i, v, n, ch, j, mant;

libavcodec/mpegaudiodec.c:658:13: Array access: Offset: [0, 8] Size: 2 by call to `mp_decode_frame` 
    656.     for (i = 0; i < bound; i++) {
    657.         for (ch = 0; ch < s->nb_channels; ch++) {
    658.             allocation[ch][i] = get_bits(&s->gb, 4);
                     ^
    659.         }
    660.     }
