libavcodec/mpegvideo_parser.c:51: error: Integer Overflow L1
  ([1099511627520, +oo] + `*buf`):unsigned32 by call to `avpriv_mpv_find_start_code`.

libavcodec/mpegvideo_parser.c:34:1: Parameter `*buf`
32. 
33. 
34. static void mpegvideo_extract_headers(AVCodecParserContext *s,
    ^
35.                                       AVCodecContext *avctx,
36.                                       const uint8_t *buf, int buf_size)

libavcodec/mpegvideo_parser.c:51:14: Call
49.     while (buf < buf_end) {
50.         start_code= -1;
51.         buf= avpriv_mpv_find_start_code(buf, buf_end, &start_code);
                 ^
52.         bytes_left = buf_end - buf;
53.         switch(start_code) {

libavcodec/mpegvideo.c:143:1: <LHS trace>
141. };
142. 
143. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
     ^
144.                                           const uint8_t *end,
145.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:143:1: Parameter `*state`
  141. };
  142. 
  143. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
       ^
  144.                                           const uint8_t *end,
  145.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:154:9: Assignment
  152. 
  153.     for (i = 0; i < 3; i++) {
  154.         uint32_t tmp = *state << 8;
               ^
  155.         *state = tmp + *(p++);
  156.         if (tmp == 0x100 || p == end)

libavcodec/mpegvideo.c:143:1: <RHS trace>
141. };
142. 
143. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
     ^
144.                                           const uint8_t *end,
145.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:143:1: Parameter `*p`
  141. };
  142. 
  143. const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
       ^
  144.                                           const uint8_t *end,
  145.                                           uint32_t * restrict state)

libavcodec/mpegvideo.c:155:9: Binary operation: ([1099511627520, +oo] + *buf):unsigned32 by call to `avpriv_mpv_find_start_code` 
  153.     for (i = 0; i < 3; i++) {
  154.         uint32_t tmp = *state << 8;
  155.         *state = tmp + *(p++);
               ^
  156.         if (tmp == 0x100 || p == end)
  157.             return p;
