libavcodec/h264_cavlc.c:1116: error: Buffer Overrun L1
  Offset: -1 Size: 2 by call to `decode_luma_residual`.

libavcodec/h264_cavlc.c:1116:20: Call
1114.         sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, sl->qscale);
1115. 
1116.         if ((ret = decode_luma_residual(h, sl, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 0)) < 0 ) {
                         ^
1117.             return -1;
1118.         }

libavcodec/h264_cavlc.c:624:1: <Offset trace>
622. }
623. 
624. static av_always_inline
     ^
625. int decode_luma_residual(const H264Context *h, H264SliceContext *sl,
626.                          GetBitContext *gb, const uint8_t *scan,

libavcodec/h264_cavlc.c:624:1: Parameter `p`
  622. }
  623. 
  624. static av_always_inline
       ^
  625. int decode_luma_residual(const H264Context *h, H264SliceContext *sl,
  626.                          GetBitContext *gb, const uint8_t *scan,

libavcodec/h264_cavlc.c:624:1: <Length trace>
622. }
623. 
624. static av_always_inline
     ^
625. int decode_luma_residual(const H264Context *h, H264SliceContext *sl,
626.                          GetBitContext *gb, const uint8_t *scan,

libavcodec/h264_cavlc.c:624:1: Parameter `sl->chroma_qp[*]`
  622. }
  623. 
  624. static av_always_inline
       ^
  625. int decode_luma_residual(const H264Context *h, H264SliceContext *sl,
  626.                          GetBitContext *gb, const uint8_t *scan,

libavcodec/h264_cavlc.c:631:40: Array access: Offset: -1 Size: 2 by call to `decode_luma_residual` 
  629. {
  630.     int i4x4, i8x8;
  631.     int qscale = p == 0 ? sl->qscale : sl->chroma_qp[p - 1];
                                              ^
  632.     if(IS_INTRA16x16(mb_type)){
  633.         AV_ZERO128(sl->mb_luma_dc[p]+0);
