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

libavcodec/ffv1.c:1158:5: Assignment
1156.     FFV1Context *fs= *(void**)arg;
1157.     FFV1Context *f= fs->avctx->priv_data;
1158.     int width = fs->slice_width;
          ^
1159.     int height= fs->slice_height;
1160.     int x= fs->slice_x;

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

libavcodec/ffv1.c:1113:1: Array declaration
  1111. }
  1112. 
  1113. static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int stride){
        ^
  1114.     int x, y, p;
  1115.     int_fast16_t *sample[3][2];

libavcodec/ffv1.c:1134:13: Call
  1132.             sample[p][1][-1]= sample[p][0][0  ];
  1133.             sample[p][0][ w]= sample[p][0][w-1];
  1134.             decode_line(s, w, sample[p], FFMIN(p, 1), 9);
                    ^
  1135.         }
  1136.         for(x=0; x<w; x++){

libavcodec/ffv1.c:1020:1: Parameter `w`
    1018. }
    1019. 
    1020. static av_always_inline void decode_line(FFV1Context *s, int w, int_fast16_t *sample[2], int plane_index, int bits){
          ^
    1021.     PlaneContext * const p= &s->plane[plane_index];
    1022.     RangeCoder * const c= &s->c;

libavcodec/ffv1.c:1031:18: Call
    1029.         int diff, context, sign;
    1030. 
    1031.         context= get_context(p, sample[1] + x, sample[0] + x, sample[1] + x);
                           ^
    1032.         if(context < 0){
    1033.             context= -context;

libavcodec/ffv1.c:284:1: <Length trace>
282. }
283. 
284. static inline int get_context(PlaneContext *p, int_fast16_t *src, int_fast16_t *last, int_fast16_t *last2){
     ^
285.     const int LT= last[-1];
286.     const int  T= last[ 0];

libavcodec/ffv1.c:284:1: Parameter `*src`
      282. }
      283. 
      284. static inline int get_context(PlaneContext *p, int_fast16_t *src, int_fast16_t *last, int_fast16_t *last2){
           ^
      285.     const int LT= last[-1];
      286.     const int  T= last[ 0];

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