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

libavcodec/hevc.c:2107:17: Call
2105.                                          s->sps->max_transform_hierarchy_depth_intra + lc->cu.intra_split_flag :
2106.                                          s->sps->max_transform_hierarchy_depth_inter;
2107.                 hls_transform_tree(s, x0, y0, x0, y0, x0, y0, log2_cb_size,
                      ^
2108.                                    log2_cb_size, 0, 0);
2109.             } else {

libavcodec/hevc.c:1272:1: <Offset trace>
1270. }
1271. 
1272. static void hls_transform_tree(HEVCContext *s, int x0, int y0,
      ^
1273.                                int xBase, int yBase, int cb_xBase, int cb_yBase,
1274.                                int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1272:1: Parameter `trafo_depth`
  1270. }
  1271. 
  1272. static void hls_transform_tree(HEVCContext *s, int x0, int y0,
        ^
  1273.                                int xBase, int yBase, int cb_xBase, int cb_yBase,
  1274.                                int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1272:1: <Length trace>
1270. }
1271. 
1272. static void hls_transform_tree(HEVCContext *s, int x0, int y0,
      ^
1273.                                int xBase, int yBase, int cb_xBase, int cb_yBase,
1274.                                int log2_cb_size, int log2_trafo_size,

libavcodec/hevc.c:1272:1: Parameter `s->HEVClc.tt.cbf_cb[*]`
  1270. }
  1271. 
  1272. static void hls_transform_tree(HEVCContext *s, int x0, int y0,
        ^
  1273.                                int xBase, int yBase, int cb_xBase, int cb_yBase,
  1274.                                int log2_cb_size, int log2_trafo_size,

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