libavcodec/ffv1.c:1501: error: Buffer Overrun L3
  Offset: [-2, +oo] (⇐ [0, +oo] + -2) 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:1338:19: Call
    1336.         int diff, context, sign;
    1337. 
    1338.         context = get_context(p, sample[1] + x, sample[0] + x, sample[1] + x);
                            ^
    1339.         if (context < 0) {
    1340.             context = -context;

libavcodec/ffv1.c:220:1: <Length trace>
218. }
219. 
220. static inline int get_context(PlaneContext *p, int16_t *src,
     ^
221.                               int16_t *last, int16_t *last2)
222. {

libavcodec/ffv1.c:220:1: Parameter `*src`
      218. }
      219. 
      220. static inline int get_context(PlaneContext *p, int16_t *src,
           ^
      221.                               int16_t *last, int16_t *last2)
      222. {

libavcodec/ffv1.c:230:24: Array access: Offset: [-2, +oo] (⇐ [0, +oo] + -2) Size: 2 by call to `decode_rgb_frame` 
      228.     if (p->quant_table[3][127]) {
      229.         const int TT = last2[0];
      230.         const int LL = src[-2];
                                  ^
      231.         return p->quant_table[0][(L - LT) & 0xFF] +
      232.                p->quant_table[1][(LT - T) & 0xFF] +
