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

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

libavcodec/vorbis_enc.c:891:1: Parameter `*venc->win[*]`
  889. }
  890. 
  891. static int apply_window_and_mdct(vorbis_enc_context *venc, const signed short *audio,
       ^
  892.                                  int samples)
  893. {

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

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

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

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

libavcodec/vorbis_enc.c:697:1: Parameter `*posts`
  695. }
  696. 
  697. static void floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc,
       ^
  698.                          PutBitContext *pb, uint_fast16_t *posts,
  699.                          float *floor, int samples)

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