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

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

libavcodec/h264_mb_template.c:330:17: Call
328. 
329.             for (p = 0; p < plane_count; p++)
330.                 hl_decode_mb_predict_luma(h, sl, mb_type, SIMPLE,
                     ^
331.                                           transform_bypass, PIXEL_SHIFT,
332.                                           block_offset, linesize, dest[p], p);

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

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

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

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

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