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

libavcodec/ffv1dec.c:347:9: Call
345.         return ret;
346.     if (f->picture.key_frame)
347.         ffv1_clear_slice_state(f, fs);
             ^
348.     width  = fs->slice_width;
349.     height = fs->slice_height;

libavcodec/ffv1.c:257:17: Assignment
  255.             for (j = 0; j < p->context_count; j++) {
  256.                 p->vlc_state[j].drift     = 0;
  257.                 p->vlc_state[j].error_sum = 4;    //FFMAX((RANGE + 32)/64, 2);
                       ^
  258.                 p->vlc_state[j].bias      = 0;
  259.                 p->vlc_state[j].count     = 1;

libavcodec/ffv1dec.c:348:5: Assignment
346.     if (f->picture.key_frame)
347.         ffv1_clear_slice_state(f, fs);
348.     width  = fs->slice_width;
         ^
349.     height = fs->slice_height;
350.     x      = fs->slice_x;

libavcodec/ffv1dec.c:388:9: Call
386.                                p->data[1] + ps * x + y * p->linesize[1],
387.                                p->data[2] + ps * x + y * p->linesize[2] };
388.         decode_rgb_frame(fs, planes, width, height, p->linesize);
             ^
389.     }
390.     if (fs->ac && f->version > 2) {

libavcodec/ffv1dec.c:211:1: Array declaration
  209. }
  210. 
  211. static void decode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h,
       ^
  212.                              int stride[3])
  213. {

libavcodec/ffv1dec.c:241:17: Call
  239.             sample[p][0][w]  = sample[p][0][w - 1];
  240.             if (lbd)
  241.                 decode_line(s, w, sample[p], (p + 1) / 2, 9);
                       ^
  242.             else
  243.                 decode_line(s, w, sample[p], (p + 1) / 2, bits + 1);

libavcodec/ffv1dec.c:99:1: Parameter `w`
     97. }
     98. 
     99. static av_always_inline void decode_line(FFV1Context *s, int w,
         ^
    100.                                          int16_t *sample[2],
    101.                                          int plane_index, int bits)

libavcodec/ffv1dec.c:164:25: Call
    162.             diff = -diff;
    163. 
    164.         sample[1][x] = (predict(sample[1] + x, sample[0] + x) + diff) &
                                 ^
    165.                        ((1 << bits) - 1);
    166.     }

libavcodec/ffv1.h:131:1: <Length trace>
129. }
130. 
131. static inline int predict(int16_t *src, int16_t *last)
     ^
132. {
133.     const int LT = last[-1];

libavcodec/ffv1.h:131:1: Parameter `*last`
      129. }
      130. 
      131. static inline int predict(int16_t *src, int16_t *last)
           ^
      132. {
      133.     const int LT = last[-1];

libavcodec/ffv1.h:133:20: Array access: Offset: [-1, +oo] (⇐ [0, +oo] + -1) Size: 2 by call to `decode_rgb_frame` 
      131. static inline int predict(int16_t *src, int16_t *last)
      132. {
      133.     const int LT = last[-1];
                              ^
      134.     const int T  = last[0];
      135.     const int L  = src[-1];
