libavcodec/h264_mb_template.c:350: error: Buffer Overrun L3
  Offset: [-1, 1] Size: 2 by call to `hl_decode_mb_predict_luma`.

libavcodec/h264_mb_template.c:288:10: Assignment
286.     const int plane_count      = (SIMPLE || !CONFIG_GRAY || !(h->flags & AV_CODEC_FLAG_GRAY)) ? 3 : 1;
287. 
288.     for (p = 0; p < plane_count; p++) {
              ^
289.         dest[p] = h->cur_pic.f->data[p] +
290.                   ((mb_x << PIXEL_SHIFT) + mb_y * sl->linesize) * 16;

libavcodec/h264_mb_template.c:350:17: Call
348. 
349.             for (p = 0; p < plane_count; p++)
350.                 hl_decode_mb_predict_luma(h, sl, mb_type, 1, SIMPLE,
                     ^
351.                                           transform_bypass, PIXEL_SHIFT,
352.                                           block_offset, linesize, dest[p], p);

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, 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)) {
