libavcodec/mpeg12.c:1883: error: Integer Overflow L1
  ([1099511627520, +oo] + [0, +oo]):unsigned32 by call to `avpriv_mpv_find_start_code`.

libavcodec/mpeg12.c:1882:9: Assignment
1880.             return 0;
1881. 
1882.         start_code = -1;
              ^
1883.         buf = avpriv_mpv_find_start_code(buf, s->gb.buffer_end, &start_code);
1884.         mb_y= (start_code - SLICE_MIN_START_CODE) << field_pic;

libavcodec/mpeg12.c:1883:15: Call
1881. 
1882.         start_code = -1;
1883.         buf = avpriv_mpv_find_start_code(buf, s->gb.buffer_end, &start_code);
                    ^
1884.         mb_y= (start_code - SLICE_MIN_START_CODE) << field_pic;
1885.         if (s->picture_structure == PICT_BOTTOM_FIELD)

libavcodec/mpegvideo.c:177:1: <LHS trace>
175. }
176. 
177. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
     ^
178.                                           const uint8_t *end,
179.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:177:1: Parameter `*state`
  175. }
  176. 
  177. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
       ^
  178.                                           const uint8_t *end,
  179.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:188:9: Assignment
  186. 
  187.     for (i = 0; i < 3; i++) {
  188.         uint32_t tmp = *state << 8;
               ^
  189.         *state = tmp + *(p++);
  190.         if (tmp == 0x100 || p == end)

libavcodec/mpegvideo.c:177:1: <RHS trace>
175. }
176. 
177. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
     ^
178.                                           const uint8_t *end,
179.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:177:1: Parameter `*p`
  175. }
  176. 
  177. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
       ^
  178.                                           const uint8_t *end,
  179.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:189:9: Binary operation: ([1099511627520, +oo] + [0, +oo]):unsigned32 by call to `avpriv_mpv_find_start_code` 
  187.     for (i = 0; i < 3; i++) {
  188.         uint32_t tmp = *state << 8;
  189.         *state = tmp + *(p++);
               ^
  190.         if (tmp == 0x100 || p == end)
  191.             return p;
