libavcodec/h264.c:1285: error: Integer Overflow L2
  ([0, 4294967294] + [0, 1]):signed32 by call to `ff_h264_field_end`.

libavcodec/h264.c:1283:13: Call
1281.         (h->mb_y >= h->mb_height && h->mb_height)) {
1282.         if (avctx->flags2 & AV_CODEC_FLAG2_CHUNKS)
1283.             decode_postinit(h, 1);
                  ^
1284. 
1285.         ff_h264_field_end(h, &h->slice_ctx[0], 0);

libavcodec/h264.c:599:17: Assignment
  597.             if (h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM ||
  598.                 h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM_TOP)
  599.                 cur->f->top_field_first = 1;
                       ^
  600.             else
  601.                 cur->f->top_field_first = 0;

libavcodec/h264.c:1285:9: Call
1283.             decode_postinit(h, 1);
1284. 
1285.         ff_h264_field_end(h, &h->slice_ctx[0], 0);
              ^
1286. 
1287.         *got_frame = 0;

libavcodec/h264_picture.c:146:1: Parameter `sl->er.mb_height`
  144. #endif /* CONFIG_ERROR_RESILIENCE */
  145. 
  146. int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup)
       ^
  147. {
  148.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_picture.c:191:9: Call
  189.         h264_set_erpic(&sl->er.next_pic,
  190.                        sl->ref_count[1] ? sl->ref_list[1][0].parent : NULL);
  191.         ff_er_frame_end(&sl->er);
               ^
  192.     }
  193. #endif /* CONFIG_ERROR_RESILIENCE */

libavcodec/error_resilience.c:1019:10: Assignment
    1017. 
    1018.     /* handle inter blocks with damaged AC */
    1019.     for (mb_y = 0; mb_y < s->mb_height; mb_y++) {
                   ^
    1020.         for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
    1021.             const int mb_xy   = mb_x + mb_y * s->mb_stride;

libavcodec/error_resilience.c:1180:13: Call
    1178.             dest_cr = s->cur_pic.f->data[2] + mb_x *  8 + mb_y *  8 * linesize[2];
    1179. 
    1180.             put_dc(s, dest_y, dest_cb, dest_cr, mb_x, mb_y);
                      ^
    1181.         }
    1182.     }

libavcodec/error_resilience.c:59:1: <LHS trace>
57.  * Replace the current MB with a flat dc-only version.
58.  */
59. static void put_dc(ERContext *s, uint8_t *dest_y, uint8_t *dest_cb,
    ^
60.                    uint8_t *dest_cr, int mb_x, int mb_y)
61. {

libavcodec/error_resilience.c:59:1: Parameter `mb_y`
      57.  * Replace the current MB with a flat dc-only version.
      58.  */
      59. static void put_dc(ERContext *s, uint8_t *dest_y, uint8_t *dest_cb,
          ^
      60.                    uint8_t *dest_cr, int mb_x, int mb_y)
      61. {

libavcodec/error_resilience.c:64:10: <RHS trace>
62.     int *linesize = s->cur_pic.f->linesize;
63.     int dc, dcu, dcv, y, i;
64.     for (i = 0; i < 4; i++) {
             ^
65.         dc = s->dc_val[0][mb_x * 2 + (i &  1) + (mb_y * 2 + (i >> 1)) * s->b8_stride];
66.         if (dc < 0)

libavcodec/error_resilience.c:64:10: Assignment
      62.     int *linesize = s->cur_pic.f->linesize;
      63.     int dc, dcu, dcv, y, i;
      64.     for (i = 0; i < 4; i++) {
                   ^
      65.         dc = s->dc_val[0][mb_x * 2 + (i &  1) + (mb_y * 2 + (i >> 1)) * s->b8_stride];
      66.         if (dc < 0)

libavcodec/error_resilience.c:65:14: Binary operation: ([0, 4294967294] + [0, 1]):signed32 by call to `ff_h264_field_end` 
      63.     int dc, dcu, dcv, y, i;
      64.     for (i = 0; i < 4; i++) {
      65.         dc = s->dc_val[0][mb_x * 2 + (i &  1) + (mb_y * 2 + (i >> 1)) * s->b8_stride];
                       ^
      66.         if (dc < 0)
      67.             dc = 0;
