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

libavcodec/mpeg12.c:2191:1: Parameter `*buf`
2189. }
2190. 
2191. static int decode_chunks(AVCodecContext *avctx,
      ^
2192.                          AVFrame *picture, int *got_output,
2193.                          const uint8_t *buf, int buf_size)

libavcodec/mpeg12.c:2205:19: Call
2203.         /* find next start code */
2204.         uint32_t start_code = -1;
2205.         buf_ptr = avpriv_mpv_find_start_code(buf_ptr, buf_end, &start_code);
                        ^
2206.         if (start_code > 0x1ff) {
2207.             if (s2->pict_type != AV_PICTURE_TYPE_B || avctx->skip_frame <= AVDISCARD_DEFAULT) {

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] + *buf):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;
