libavcodec/svq1enc.c:409: error: Buffer Overrun L1
  Offset: 5 Size: 4 by call to `encode_block`.

libavcodec/svq1enc.c:409:29: Call
407.                     score[0] = vlc[1] * lambda;
408.                 }
409.                 score[0] += encode_block(s, src + 16 * x, NULL, temp, stride,
                                 ^
410.                                          5, 64, lambda, 1);
411.                 for (i = 0; i < 6; i++) {

libavcodec/svq1enc.c:115:1: <Offset trace>
113. #define THRESHOLD_MULTIPLIER 0.6
114. 
115. static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref,
     ^
116.                         uint8_t *decoded, int stride, int level,
117.                         int threshold, int lambda, int intra)

libavcodec/svq1enc.c:115:1: Parameter `level`
  113. #define THRESHOLD_MULTIPLIER 0.6
  114. 
  115. static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref,
       ^
  116.                         uint8_t *decoded, int stride, int level,
  117.                         int threshold, int lambda, int intra)

libavcodec/svq1enc_cb.h:59:1: <Length trace>
57. };
58. 
59. static const int8_t svq1_intra_codebook_sum[4][16*6] = {
    ^
60.     {  0,  0,  0, -1, -1, -1, -1, -2,  0, -1, -1,  0, -1,  0,  1,  0,
61.        1,  0, -1,  1,  0,  0, -1,  1, -1,  0,  0,  0, -1,  1,  0,  0,

libavcodec/svq1enc_cb.h:59:1: Array declaration
  57. };
  58. 
  59. static const int8_t svq1_intra_codebook_sum[4][16*6] = {
      ^
  60.     {  0,  0,  0, -1, -1, -1, -1, -2,  0, -1, -1,  0, -1,  0,  1,  0,
  61.        1,  0, -1,  1,  0,  0, -1,  1, -1,  0,  0,  0, -1,  1,  0,  0,

libavcodec/svq1enc.c:133:9: Array access: Offset: 5 Size: 4 by call to `encode_block` 
  131.     // FIXME: Optimize, this does not need to be done multiple times.
  132.     if (intra) {
  133.         codebook_sum   = svq1_intra_codebook_sum[level];
               ^
  134.         codebook       = ff_svq1_intra_codebooks[level];
  135.         mean_vlc       = ff_svq1_intra_mean_vlc;
