libavcodec/vorbis_enc.c:1000: error: Buffer Overrun L3
  Offset: [2, +oo] Size: [0, +oo] by call to `floor_encode`.

libavcodec/vorbis_enc.c:979:10: Call
977.     int i;
978. 
979.     if (!apply_window_and_mdct(venc, audio, samples))
              ^
980.         return 0;
981.     samples = 1 << (venc->log2_blocksize[0] - 1);

libavcodec/vorbis_enc.c:887:1: Parameter `*venc->win[*]`
  885. }
  886. 
  887. static int apply_window_and_mdct(vorbis_enc_context *venc, signed short *audio,
       ^
  888.                                  int samples)
  889. {

libavcodec/vorbis_enc.c:1000:9: Call
 998.         uint_fast16_t posts[fc->values];
 999.         floor_fit(venc, fc, &venc->coeffs[i * samples], posts, samples);
1000.         floor_encode(venc, fc, &pb, posts, &venc->floor[i * samples], samples);
              ^
1001.     }
1002. 

libavcodec/vorbis_enc.c:693:1: <Offset trace>
691. }
692. 
693. static void floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc,
     ^
694.                          PutBitContext *pb, uint_fast16_t *posts,
695.                          float *floor, int samples)

libavcodec/vorbis_enc.c:693:1: Parameter `fc->values`
  691. }
  692. 
  693. static void floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc,
       ^
  694.                          PutBitContext *pb, uint_fast16_t *posts,
  695.                          float *floor, int samples)

libavcodec/vorbis_enc.c:693:1: <Length trace>
691. }
692. 
693. static void floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc,
     ^
694.                          PutBitContext *pb, uint_fast16_t *posts,
695.                          float *floor, int samples)

libavcodec/vorbis_enc.c:693:1: Parameter `*posts`
  691. }
  692. 
  693. static void floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc,
       ^
  694.                          PutBitContext *pb, uint_fast16_t *posts,
  695.                          float *floor, int samples)

libavcodec/vorbis_enc.c:715:26: Array access: Offset: [2, +oo] Size: [0, +oo] by call to `floor_encode` 
  713.         int lowroom = predicted;
  714.         int room = FFMIN(highroom, lowroom);
  715.         if (predicted == posts[i]) {
                                ^
  716.             coded[i] = 0; // must be used later as flag!
  717.             continue;
