libavcodec/ffv1.c:1501: error: Buffer Overrun L3
  Offset: [-1, +oo] (⇐ [0, +oo] + -1) Size: 2 by call to `decode_rgb_frame`.

libavcodec/ffv1.c:1480:5: Assignment
1478.     FFV1Context *fs  = *(void **)arg;
1479.     FFV1Context *f   = fs->avctx->priv_data;
1480.     int width        = fs->slice_width;
          ^
1481.     int height       = fs->slice_height;
1482.     int x            = fs->slice_x;

libavcodec/ffv1.c:1501:9: Call
1499.                      chroma_width, chroma_height, p->linesize[2], 1);
1500.     } else {
1501.         decode_rgb_frame(fs,
              ^
1502.                          (uint32_t *)p->data[0] + x + y * (p->linesize[0] / 4),
1503.                          width, height, p->linesize[0] / 4);

libavcodec/ffv1.c:1432:1: Array declaration
  1430. }
  1431. 
  1432. static void decode_rgb_frame(FFV1Context *s, uint32_t *src,
        ^
  1433.                              int w, int h, int stride)
  1434. {

libavcodec/ffv1.c:1455:13: Call
  1453.             sample[p][1][-1] = sample[p][0][0];
  1454.             sample[p][0][w]  = sample[p][0][w - 1];
  1455.             decode_line(s, w, sample[p], FFMIN(p, 1), 9);
                    ^
  1456.         }
  1457.         for (x = 0; x < w; x++) {

libavcodec/ffv1.c:1324:1: Parameter `w`
    1322. }
    1323. 
    1324. static av_always_inline void decode_line(FFV1Context *s, int w,
          ^
    1325.                                          int16_t *sample[2],
    1326.                                          int plane_index, int bits)

libavcodec/ffv1.c:1389:25: Call
    1387.             diff = -diff;
    1388. 
    1389.         sample[1][x] = (predict(sample[1] + x, sample[0] + x) + diff) &
                                  ^
    1390.                        ((1 << bits) - 1);
    1391.     }

libavcodec/ffv1.c:211:1: <Length trace>
209. }
210. 
211. static inline int predict(int16_t *src, int16_t *last)
     ^
212. {
213.     const int LT = last[-1];

libavcodec/ffv1.c:211:1: Parameter `*last`
      209. }
      210. 
      211. static inline int predict(int16_t *src, int16_t *last)
           ^
      212. {
      213.     const int LT = last[-1];

libavcodec/ffv1.c:213:20: Array access: Offset: [-1, +oo] (⇐ [0, +oo] + -1) Size: 2 by call to `decode_rgb_frame` 
      211. static inline int predict(int16_t *src, int16_t *last)
      212. {
      213.     const int LT = last[-1];
                              ^
      214.     const int T  = last[0];
      215.     const int L  = src[-1];
