libavcodec/hevc.c:2195: error: Buffer Overrun L1
  Offset: -1 Size: 5 by call to `hls_transform_tree`.

libavcodec/hevc.c:2195:23: Call
2193.                                          s->sps->max_transform_hierarchy_depth_intra + lc->cu.intra_split_flag :
2194.                                          s->sps->max_transform_hierarchy_depth_inter;
2195.                 ret = hls_transform_tree(s, x0, y0, x0, y0, x0, y0,
                            ^
2196.                                          log2_cb_size,
2197.                                          log2_cb_size, 0, 0);

libavcodec/hevc.c:1330:1: <Offset trace>
1328. }
1329. 
1330. static int hls_transform_tree(HEVCContext *s, int x0, int y0,
      ^
1331.                               int xBase, int yBase, int cb_xBase, int cb_yBase,
1332.                               int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1330:1: Parameter `trafo_depth`
  1328. }
  1329. 
  1330. static int hls_transform_tree(HEVCContext *s, int x0, int y0,
        ^
  1331.                               int xBase, int yBase, int cb_xBase, int cb_yBase,
  1332.                               int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1330:1: <Length trace>
1328. }
1329. 
1330. static int hls_transform_tree(HEVCContext *s, int x0, int y0,
      ^
1331.                               int xBase, int yBase, int cb_xBase, int cb_yBase,
1332.                               int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1330:1: Parameter `s->HEVClc.tt.cbf_cb[*]`
  1328. }
  1329. 
  1330. static int hls_transform_tree(HEVCContext *s, int x0, int y0,
        ^
  1331.                               int xBase, int yBase, int cb_xBase, int cb_yBase,
  1332.                               int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1376:13: Array access: Offset: -1 Size: 5 by call to `hls_transform_tree` 
  1374.     if (log2_trafo_size > 2) {
  1375.         if (trafo_depth == 0 ||
  1376.             SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth - 1], xBase, yBase)) {
                    ^
  1377.             SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) =
  1378.                 ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
