libavcodec/h264dec.c:742: error: Integer Overflow L2
  (1 + [0, 2147483648]):signed32 by call to `decode_nal_units`.

libavcodec/h264dec.c:742:17: Call
740.     }
741. 
742.     buf_index = decode_nal_units(h, buf, buf_size);
                     ^
743.     if (buf_index < 0)
744.         return AVERROR_INVALIDDATA;

libavcodec/h264dec.c:528:11: Call
  526.     }
  527. 
  528.     ret = ff_h2645_packet_split(&h->pkt, buf, buf_size, avctx, h->is_avc,
                 ^
  529.                                 h->nal_length_size, avctx->codec_id);
  530.     if (ret < 0) {

libavcodec/h2645_parse.c:301:15: Call
    299.         nal->size_bits = get_bit_length(nal, skip_trailing_zeros);
    300. 
    301.         ret = init_get_bits(&nal->gb, nal->data, nal->size_bits);
                       ^
    302.         if (ret < 0)
    303.             return ret;

libavcodec/get_bits.h:362:1: Parameter `bit_size`
      360.  * @return 0 on success, AVERROR_INVALIDDATA if the buffer_size would overflow.
      361.  */
      362. static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
           ^
      363.                                 int bit_size)
      364. {

libavcodec/get_bits.h:379:5: Assignment
      377.     s->size_in_bits       = bit_size;
      378. #if !UNCHECKED_BITSTREAM_READER
      379.     s->size_in_bits_plus8 = bit_size + 8;
               ^
      380. #endif
      381.     s->buffer_end         = buffer + buffer_size;

libavcodec/h264dec.c:742:17: Call
740.     }
741. 
742.     buf_index = decode_nal_units(h, buf, buf_size);
                     ^
743.     if (buf_index < 0)
744.         return AVERROR_INVALIDDATA;

libavcodec/h264dec.c:515:1: Parameter `*h->cur_pic.mb_type`
  513. }
  514. 
  515. static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size)
       ^
  516. {
  517.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264dec.c:633:11: Call
  631.     }
  632. 
  633.     ret = ff_h264_execute_decode_slices(h);
                 ^
  634.     if (ret < 0 && (h->avctx->err_recognition & AV_EF_EXPLODE))
  635.         goto end;

libavcodec/h264_slice.c:2491:1: Parameter `*h->cur_pic.mb_type`
    2489.  * @param h h264 master context
    2490.  */
    2491. int ff_h264_execute_decode_slices(H264Context *h)
          ^
    2492. {
    2493.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2552:21: Call
    2550.                 for (j = sl->resync_mb_y; j < y_end; j += 1 + FIELD_OR_MBAFF_PICTURE(h)) {
    2551.                     sl->mb_y = j;
    2552.                     loop_filter(h, sl, j > sl->resync_mb_y ? 0 : sl->resync_mb_x,
                              ^
    2553.                                 j == y_end - 1 ? x_end : h->mb_width);
    2554.                 }

libavcodec/h264_slice.c:2168:1: Parameter `*h->cur_pic.mb_type`
      2166. }
      2167. 
      2168. static void loop_filter(const H264Context *h, H264SliceContext *sl, int start_x, int end_x)
            ^
      2169. {
      2170.     uint8_t *dest_y, *dest_cb, *dest_cr;

libavcodec/h264_slice.c:2226:21: Call
      2224.                                       linesize, uvlinesize);
      2225.                 } else {
      2226.                     ff_h264_filter_mb_fast(h, sl, mb_x, mb_y, dest_y, dest_cb,
                                ^
      2227.                                            dest_cr, linesize, uvlinesize);
      2228.                 }

libavcodec/h264_loopfilter.c:420:1: Parameter `*h->cur_pic.mb_type`
        418. }
        419. 
        420. void ff_h264_filter_mb_fast(const H264Context *h, H264SliceContext *sl,
             ^
        421.                             int mb_x, int mb_y, uint8_t *img_y,
        422.                             uint8_t *img_cb, uint8_t *img_cr,

libavcodec/h264_loopfilter.c:437:9: Call
        435.         h264_filter_mb_fast_internal(h, sl, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize, 1);
        436.     }else{
        437.         h264_filter_mb_fast_internal(h, sl, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize, 0);
                     ^
        438.     }
        439. #endif

libavcodec/h264_loopfilter.c:238:1: <RHS trace>
236. }
237. 
238. static av_always_inline void h264_filter_mb_fast_internal(const H264Context *h,
     ^
239.                                                           H264SliceContext *sl,
240.                                                           int mb_x, int mb_y,

libavcodec/h264_loopfilter.c:238:1: Parameter `*h->cur_pic.mb_type`
          236. }
          237. 
          238. static av_always_inline void h264_filter_mb_fast_internal(const H264Context *h,
               ^
          239.                                                           H264SliceContext *sl,
          240.                                                           int mb_x, int mb_y,

libavcodec/h264_loopfilter.c:260:5: Assignment
          258.     int b = 52 + sl->slice_beta_offset - qp_bd_offset;
          259. 
          260.     int mb_type = h->cur_pic.mb_type[mb_xy];
                   ^
          261.     int qp      = h->cur_pic.qscale_table[mb_xy];
          262.     int qp0     = h->cur_pic.qscale_table[mb_xy - 1];

libavcodec/h264_loopfilter.c:373:13: Binary operation: (1 + [0, 2147483648]):signed32 by call to `decode_nal_units` 
          371.             int mask_edge1 = (3*(((5*mb_type)>>5)&1)) | (mb_type>>4); //(mb_type & (MB_TYPE_16x16 | MB_TYPE_8x16)) ? 3 : (mb_type & MB_TYPE_16x8) ? 1 : 0;
          372.             int mask_edge0 = 3*((mask_edge1>>1) & ((5*left_type)>>5)&1); // (mb_type & (MB_TYPE_16x16 | MB_TYPE_8x16)) && (h->left_type[LTOP] & (MB_TYPE_16x16 | MB_TYPE_8x16)) ? 3 : 0;
          373.             int step =  1+(mb_type>>24); //IS_8x8DCT(mb_type) ? 2 : 1;
                           ^
          374.             edges = 4 - 3*((mb_type>>3) & !(sl->cbp & 15)); //(mb_type & MB_TYPE_16x16) && !(h->cbp & 15) ? 1 : 4;
          375.             h->h264dsp.h264_loop_filter_strength(bS, sl->non_zero_count_cache, sl->ref_cache, sl->mv_cache,
