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

libavcodec/mpeg12.c:2218:1: Parameter `*buf`
2216. }
2217. 
2218. static int decode_chunks(AVCodecContext *avctx,
      ^
2219.                          AVFrame *picture, int *got_output,
2220.                          const uint8_t *buf, int buf_size)

libavcodec/mpeg12.c:2232:19: Call
2230.         /* find next start code */
2231.         uint32_t start_code = -1;
2232.         buf_ptr = avpriv_find_start_code(buf_ptr, buf_end, &start_code);
                        ^
2233.         if (start_code > 0x1ff) {
2234.             if (s2->pict_type != AV_PICTURE_TYPE_B || avctx->skip_frame <= AVDISCARD_DEFAULT) {

libavcodec/utils.c:2201:1: <LHS trace>
2199. }
2200. 
2201. const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
      ^
2202.                                       const uint8_t *end,
2203.                                       uint32_t * restrict state)

libavcodec/utils.c:2201:1: Parameter `*state`
  2199. }
  2200. 
  2201. const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
        ^
  2202.                                       const uint8_t *end,
  2203.                                       uint32_t * restrict state)

libavcodec/utils.c:2212:9: Assignment
  2210. 
  2211.     for (i = 0; i < 3; i++) {
  2212.         uint32_t tmp = *state << 8;
                ^
  2213.         *state = tmp + *(p++);
  2214.         if (tmp == 0x100 || p == end)

libavcodec/utils.c:2201:1: <RHS trace>
2199. }
2200. 
2201. const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
      ^
2202.                                       const uint8_t *end,
2203.                                       uint32_t * restrict state)

libavcodec/utils.c:2201:1: Parameter `*p`
  2199. }
  2200. 
  2201. const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
        ^
  2202.                                       const uint8_t *end,
  2203.                                       uint32_t * restrict state)

libavcodec/utils.c:2213:9: Binary operation: ([1099511627520, +oo] + *buf):unsigned32 by call to `avpriv_find_start_code` 
  2211.     for (i = 0; i < 3; i++) {
  2212.         uint32_t tmp = *state << 8;
  2213.         *state = tmp + *(p++);
                ^
  2214.         if (tmp == 0x100 || p == end)
  2215.             return p;
