libavcodec/h264.c:1046: error: Integer Overflow L2
  (3 × [0, 10737418240]):signed32 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->cur_pic.mb_type`
  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->cur_pic.mb_type`
    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 `*h->cur_pic.mb_type`
      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:1846:21: Call
      1844.                                       linesize, uvlinesize);
      1845.                 } else {
      1846.                     ff_h264_filter_mb_fast(h, sl, mb_x, mb_y, dest_y, dest_cb,
                                ^
      1847.                                            dest_cr, linesize, uvlinesize);
      1848.                 }

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

libavcodec/h264_loopfilter.c:434:9: Call
        432. #else
        433.     if(h->pixel_shift){
        434.         h264_filter_mb_fast_internal(h, sl, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize, 1);
                     ^
        435.     }else{
        436.         h264_filter_mb_fast_internal(h, sl, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize, 0);

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

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

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

libavcodec/h264_loopfilter.c:370:13: Binary operation: (3 × [0, 10737418240]):signed32 by call to `decode_nal_units` 
          368.             AV_WN64A(bS[1][2], 0x0002000200020002ULL);
          369.         } else {
          370.             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;
                           ^
          371.             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;
          372.             int step =  1+(mb_type>>24); //IS_8x8DCT(mb_type) ? 2 : 1;
