libavcodec/h264.c:1046: error: Buffer Overrun L2
  Offset: [0, 2147483648] Size: 2 by call to `decode_nal_units`.

libavcodec/h264.c:1046:17: Call
1044.     }
1045. 
1046.     buf_index = decode_nal_units(h, buf, buf_size);
                      ^
1047.     if (buf_index < 0)
1048.         return AVERROR_INVALIDDATA;

libavcodec/h264.c:818:11: Call
  816.     }
  817. 
  818.     ret = ff_h2645_packet_split(&h->pkt, buf, buf_size, avctx, h->is_avc,
                 ^
  819.                                 h->nal_length_size, avctx->codec_id);
  820.     if (ret < 0) {

libavcodec/h2645_parse.c:260:15: Call
    258.         nal->size_bits = get_bit_length(nal, skip_trailing_zeros);
    259. 
    260.         ret = init_get_bits(&nal->gb, nal->data, nal->size_bits);
                       ^
    261.         if (ret < 0)
    262.             return ret;

libavcodec/get_bits.h:384:1: Parameter `bit_size`
      382.  * @return 0 on success, AVERROR_INVALIDDATA if the buffer_size would overflow.
      383.  */
      384. static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
           ^
      385.                                 int bit_size)
      386. {

libavcodec/get_bits.h:401:5: Assignment
      399.     s->size_in_bits       = bit_size;
      400. #if !UNCHECKED_BITSTREAM_READER
      401.     s->size_in_bits_plus8 = bit_size + 8;
               ^
      402. #endif
      403.     s->buffer_end         = buffer + buffer_size;

libavcodec/h264.c:1046:17: Call
1044.     }
1045. 
1046.     buf_index = decode_nal_units(h, buf, buf_size);
                      ^
1047.     if (buf_index < 0)
1048.         return AVERROR_INVALIDDATA;

libavcodec/h264.c:804:1: Parameter `h->slice_ctx->mb_field_decoding_flag`
  802. }
  803. 
  804. static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size)
       ^
  805. {
  806.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264.c:950:15: Call
  948.     }
  949.     if (context_count) {
  950.         ret = ff_h264_execute_decode_slices(h, context_count);
                     ^
  951.         if (ret < 0 && (h->avctx->err_recognition & AV_EF_EXPLODE))
  952.             goto end;

libavcodec/h264_slice.c:2113:1: Parameter `h->slice_ctx->mb_field_decoding_flag`
    2111.  * @param context_count number of contexts to execute
    2112.  */
    2113. int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
          ^
    2114. {
    2115.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2172:21: Call
    2170.                 for (j = sl->resync_mb_y; j < y_end; j += 1 + FIELD_OR_MBAFF_PICTURE(h)) {
    2171.                     sl->mb_y = j;
    2172.                     loop_filter(h, sl, j > sl->resync_mb_y ? 0 : sl->resync_mb_x,
                              ^
    2173.                                 j == y_end - 1 ? x_end : h->mb_width);
    2174.                 }

libavcodec/h264_slice.c:1788:1: Parameter `sl->mb_field_decoding_flag`
      1786. }
      1787. 
      1788. static void loop_filter(const H264Context *h, H264SliceContext *sl, int start_x, int end_x)
            ^
      1789. {
      1790.     uint8_t *dest_y, *dest_cb, *dest_cr;

libavcodec/h264_slice.c:1843:21: Call
      1841. 
      1842.                 if (FRAME_MBAFF(h)) {
      1843.                     ff_h264_filter_mb(h, sl, mb_x, mb_y, dest_y, dest_cb, dest_cr,
                                ^
      1844.                                       linesize, uvlinesize);
      1845.                 } else {

libavcodec/h264_loopfilter.c:715:1: <Offset trace>
713. }
714. 
715. void ff_h264_filter_mb(const H264Context *h, H264SliceContext *sl,
     ^
716.                        int mb_x, int mb_y,
717.                        uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr,

libavcodec/h264_loopfilter.c:715:1: Parameter `sl->mb_field_decoding_flag`
        713. }
        714. 
        715. void ff_h264_filter_mb(const H264Context *h, H264SliceContext *sl,
             ^
        716.                        int mb_x, int mb_y,
        717.                        uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr,

libavcodec/h264_loopfilter.c:749:13: <Length trace>
747.             AV_WN64A(&bS[4], 0x0004000400040004ULL);
748.         } else {
749.             static const uint8_t offset[2][2][8]={
                 ^
750.                 {
751.                     {3+4*0, 3+4*0, 3+4*0, 3+4*0, 3+4*1, 3+4*1, 3+4*1, 3+4*1},

libavcodec/h264_loopfilter.c:749:13: Array declaration
        747.             AV_WN64A(&bS[4], 0x0004000400040004ULL);
        748.         } else {
        749.             static const uint8_t offset[2][2][8]={
                         ^
        750.                 {
        751.                     {3+4*0, 3+4*0, 3+4*0, 3+4*0, 3+4*1, 3+4*1, 3+4*1, 3+4*1},

libavcodec/h264_loopfilter.c:758:13: Array access: Offset: [0, 2147483648] Size: 2 by call to `decode_nal_units` 
        756.                 }
        757.             };
        758.             const uint8_t *off= offset[MB_FIELD(sl)][mb_y&1];
                         ^
        759.             for( i = 0; i < 8; i++ ) {
        760.                 int j= MB_FIELD(sl) ? i>>2 : i&1;
