libavcodec/ffv1.c:816: error: Buffer Overrun L2
  Offset: [1, 3] (⇐ [0, 2] + 1) Size: 3 by call to `decode_line`.

libavcodec/ffv1.c:795:1: Array declaration
793. }
794. 
795. static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int stride){
     ^
796.     int x, y, p;
797.     int_fast16_t sample_buffer[3][2][w+6];

libavcodec/ffv1.c:816:13: Call
814.             sample[p][1][-1]= sample[p][0][0  ];
815.             sample[p][0][ w]= sample[p][0][w-1];
816.             decode_line(s, w, sample[p], FFMIN(p, 1), 9);
                 ^
817.         }
818.         for(x=0; x<w; x++){

libavcodec/ffv1.c:711:1: <Length trace>
709. }
710. 
711. static inline void decode_line(FFV1Context *s, int w, int_fast16_t *sample[2], int plane_index, int bits){
     ^
712.     PlaneContext * const p= &s->plane[plane_index];
713.     RangeCoder * const c= &s->c;

libavcodec/ffv1.c:711:1: Parameter `*sample`
  709. }
  710. 
  711. static inline void decode_line(FFV1Context *s, int w, int_fast16_t *sample[2], int plane_index, int bits){
       ^
  712.     PlaneContext * const p= &s->plane[plane_index];
  713.     RangeCoder * const c= &s->c;

libavcodec/ffv1.c:722:33: Array access: Offset: [1, 3] (⇐ [0, 2] + 1) Size: 3 by call to `decode_line` 
  720.         int diff, context, sign;
  721. 
  722.         context= get_context(s, sample[1] + x, sample[0] + x, sample[1] + x);
                                       ^
  723.         if(context < 0){
  724.             context= -context;
