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

libavcodec/h264_mb_template.c:292:10: Assignment
290.     const int plane_count      = (SIMPLE || !CONFIG_GRAY || !(s->flags & CODEC_FLAG_GRAY)) ? 3 : 1;
291. 
292.     for (p = 0; p < plane_count; p++) {
              ^
293.         dest[p] = s->current_picture.f.data[p] +
294.                   ((mb_x << PIXEL_SHIFT) + mb_y * s->linesize) * 16;

libavcodec/h264_mb_template.c:354:17: Call
352. 
353.             for (p = 0; p < plane_count; p++)
354.                 hl_decode_mb_predict_luma(h, mb_type, 1, SIMPLE,
                     ^
355.                                           transform_bypass, PIXEL_SHIFT,
356.                                           block_offset, linesize, dest[p], p);

libavcodec/h264.c:1771:1: <Offset trace>
1769. }
1770. 
1771. static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
      ^
1772.                                                        int mb_type, int is_h264,
1773.                                                        int simple,

libavcodec/h264.c:1771:1: Parameter `p`
  1769. }
  1770. 
  1771. static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
        ^
  1772.                                                        int mb_type, int is_h264,
  1773.                                                        int simple,

libavcodec/h264.c:1771:1: <Length trace>
1769. }
1770. 
1771. static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
      ^
1772.                                                        int mb_type, int is_h264,
1773.                                                        int simple,

libavcodec/h264.c:1771:1: Parameter `h->chroma_qp[*]`
  1769. }
  1770. 
  1771. static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
        ^
  1772.                                                        int mb_type, int is_h264,
  1773.                                                        int simple,

libavcodec/h264.c:1784:39: Array access: Offset: [-1, 1] Size: 2 by call to `hl_decode_mb_predict_luma` 
  1782.     void (*idct_dc_add)(uint8_t *dst, int16_t *block, int stride);
  1783.     int i;
  1784.     int qscale = p == 0 ? s->qscale : h->chroma_qp[p - 1];
                                              ^
  1785.     block_offset += 16 * p;
  1786.     if (IS_INTRA4x4(mb_type)) {
