libavcodec/h264_mb_template.c:170: error: Buffer Overrun L1
  Offset: -1 Size: 2 by call to `hl_decode_mb_predict_luma`.

libavcodec/h264_mb_template.c:170:13: Call
168.             }
169. 
170.             hl_decode_mb_predict_luma(h, sl, mb_type, is_h264, SIMPLE,
                 ^
171.                                       transform_bypass, PIXEL_SHIFT,
172.                                       block_offset, linesize, dest_y, 0);

libavcodec/h264_mb.c:612:1: <Offset trace>
610. }
611. 
612. static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h,
     ^
613.                                                        H264SliceContext *sl,
614.                                                        int mb_type, int is_h264,

libavcodec/h264_mb.c:612:1: Parameter `p`
  610. }
  611. 
  612. static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h,
       ^
  613.                                                        H264SliceContext *sl,
  614.                                                        int mb_type, int is_h264,

libavcodec/h264_mb.c:612:1: <Length trace>
610. }
611. 
612. static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h,
     ^
613.                                                        H264SliceContext *sl,
614.                                                        int mb_type, int is_h264,

libavcodec/h264_mb.c:612:1: Parameter `sl->chroma_qp[*]`
  610. }
  611. 
  612. static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h,
       ^
  613.                                                        H264SliceContext *sl,
  614.                                                        int mb_type, int is_h264,

libavcodec/h264_mb.c:625:40: Array access: Offset: -1 Size: 2 by call to `hl_decode_mb_predict_luma` 
  623.     void (*idct_dc_add)(uint8_t *dst, int16_t *block, int stride);
  624.     int i;
  625.     int qscale = p == 0 ? sl->qscale : sl->chroma_qp[p - 1];
                                              ^
  626.     block_offset += 16 * p;
  627.     if (IS_INTRA4x4(mb_type)) {
