libavcodec/mpegaudiodec.c:2486: error: Buffer Overrun L1
  Offset: [31, +oo] (⇐ [0, +oo] + 31) Size: 2 by call to `mp_decode_frame`.

libavcodec/mpegaudiodec.c:2480:19: Call
2478.         assert (m != NULL);
2479. 
2480.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
                        ^
2481. 
2482.         if (ff_mpa_check_header(header) < 0) // Bad header, discard block

libavutil/bswap.h:60:1: Parameter `x`
  58. 
  59. #ifndef bswap_32
  60. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
      ^
  61. {
  62.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:62:5: Assignment
  60. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
  61. {
  62.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
          ^
  63.     x= (x>>16) | (x<<16);
  64.     return x;

libavutil/bswap.h:63:5: Assignment
  61. {
  62.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
  63.     x= (x>>16) | (x<<16);
          ^
  64.     return x;
  65. }

libavutil/bswap.h:64:5: Assignment
  62.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
  63.     x= (x>>16) | (x<<16);
  64.     return x;
          ^
  65. }
  66. #endif

libavcodec/mpegaudiodec.c:2480:9: Assignment
2478.         assert (m != NULL);
2479. 
2480.         header = (AV_RB32(buf) & 0x000fffff) | s->syncword; // patch header
              ^
2481. 
2482.         if (ff_mpa_check_header(header) < 0) // Bad header, discard block

libavcodec/mpegaudiodec.c:2485:9: Call
2483.             break;
2484. 
2485.         ff_mpegaudio_decode_header((MPADecodeHeader *)m, header);
              ^
2486.         out_size += mp_decode_frame(m, outptr, buf, fsize);
2487.         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:2486:21: Call
2484. 
2485.         ff_mpegaudio_decode_header((MPADecodeHeader *)m, header);
2486.         out_size += mp_decode_frame(m, outptr, buf, fsize);
                          ^
2487.         buf += fsize;
2488.         len -= fsize;

libavcodec/mpegaudiodec.c:2170:1: Parameter `s->synth_buf[*]`
  2168. }
  2169. 
  2170. static int mp_decode_frame(MPADecodeContext *s,
        ^
  2171.                            OUT_INT *samples, const uint8_t *buf, int buf_size)
  2172. {

libavcodec/mpegaudiodec.c:2230:13: Call
  2228.         samples_ptr = samples + ch;
  2229.         for(i=0;i<nb_frames;i++) {
  2230.             RENAME(ff_mpa_synth_filter)(s->synth_buf[ch], &(s->synth_buf_offset[ch]),
                    ^
  2231.                          RENAME(ff_mpa_synth_window), &s->dither_state,
  2232.                          samples_ptr, s->nb_channels,

libavcodec/mpegaudiodec.c:842:1: Parameter `*synth_buf_ptr`
    840.    32 samples. */
    841. /* XXX: optimize by avoiding ring buffer usage */
    842. void RENAME(ff_mpa_synth_filter)(MPA_INT *synth_buf_ptr, int *synth_buf_offset,
         ^
    843.                          MPA_INT *window, int *dither_state,
    844.                          OUT_INT *samples, int incr,

libavcodec/mpegaudiodec.c:861:5: Assignment
    859. 
    860.     offset = *synth_buf_offset;
    861.     synth_buf = synth_buf_ptr + offset;
             ^
    862. 
    863. #if FRAC_BITS <= 15 && !CONFIG_FLOAT

libavcodec/mpegaudiodec.c:871:5: Call
    869.     }
    870. #else
    871.     dct32(synth_buf, sb_samples);
             ^
    872. #endif
    873. 

libavcodec/mpegaudiodec.c:565:1: <Length trace>
563. 
564. /* DCT32 without 1/sqrt(2) coef zero scaling. */
565. static void dct32(INTFLOAT *out, const INTFLOAT *tab)
     ^
566. {
567.     INTFLOAT tmp0, tmp1;

libavcodec/mpegaudiodec.c:565:1: Parameter `*out`
      563. 
      564. /* DCT32 without 1/sqrt(2) coef zero scaling. */
      565. static void dct32(INTFLOAT *out, const INTFLOAT *tab)
           ^
      566. {
      567.     INTFLOAT tmp0, tmp1;

libavcodec/mpegaudiodec.c:725:5: Array access: Offset: [31, +oo] (⇐ [0, +oo] + 31) Size: 2 by call to `mp_decode_frame` 
      723.     out[23] = val29 + val19;
      724.     out[15] = val30 + val17;
      725.     out[31] = val31;
               ^
      726. }
      727. 
