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

libavcodec/ffv1.c:1455:5: Assignment
1453.     FFV1Context *fs= *(void**)arg;
1454.     FFV1Context *f= fs->avctx->priv_data;
1455.     int width = fs->slice_width;
          ^
1456.     int height= fs->slice_height;
1457.     int x= fs->slice_x;

libavcodec/ffv1.c:1472:9: Call
1470.         decode_plane(fs, p->data[2] + cx+cy*p->linesize[1], chroma_width, chroma_height, p->linesize[2], 1);
1471.     }else{
1472.         decode_rgb_frame(fs, (uint32_t*)p->data[0] + x + y*(p->linesize[0]/4), width, height, p->linesize[0]/4);
              ^
1473.     }
1474. 

libavcodec/ffv1.c:1410:1: Array declaration
  1408. }
  1409. 
  1410. static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int stride){
        ^
  1411.     int x, y, p;
  1412.     int16_t *sample[3][2];

libavcodec/ffv1.c:1431:13: Call
  1429.             sample[p][1][-1]= sample[p][0][0  ];
  1430.             sample[p][0][ w]= sample[p][0][w-1];
  1431.             decode_line(s, w, sample[p], FFMIN(p, 1), 9);
                    ^
  1432.         }
  1433.         for(x=0; x<w; x++){

libavcodec/ffv1.c:1314:1: Parameter `w`
    1312. }
    1313. 
    1314. static av_always_inline void decode_line(FFV1Context *s, int w,
          ^
    1315.                                          int16_t *sample[2],
    1316.                                          int plane_index, int bits)

libavcodec/ffv1.c:1370:24: Call
    1368.         if(sign) diff= -diff;
    1369. 
    1370.         sample[1][x]= (predict(sample[1] + x, sample[0] + x) + diff) & ((1<<bits)-1);
                                 ^
    1371.     }
    1372.     s->run_index= run_index;

libavcodec/ffv1.c:282:1: <Length trace>
280. }
281. 
282. static inline int predict(int16_t *src, int16_t *last)
     ^
283. {
284.     const int LT= last[-1];

libavcodec/ffv1.c:282:1: Parameter `*last`
      280. }
      281. 
      282. static inline int predict(int16_t *src, int16_t *last)
           ^
      283. {
      284.     const int LT= last[-1];

libavcodec/ffv1.c:284:19: Array access: Offset: [-1, +oo] (⇐ [0, +oo] + -1) Size: 2 by call to `decode_rgb_frame` 
      282. static inline int predict(int16_t *src, int16_t *last)
      283. {
      284.     const int LT= last[-1];
                             ^
      285.     const int  T= last[ 0];
      286.     const int L =  src[-1];
