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

libavcodec/mpeg12.c:2308:1: Parameter `*buf`
2306. }
2307. 
2308. static int decode_chunks(AVCodecContext *avctx,
      ^
2309.                              AVFrame *picture, int *data_size,
2310.                              const uint8_t *buf, int buf_size)

libavcodec/mpeg12.c:2321:19: Call
2319.         /* find next start code */
2320.         uint32_t start_code = -1;
2321.         buf_ptr = ff_find_start_code(buf_ptr,buf_end, &start_code);
                        ^
2322.         if (start_code > 0x1ff){
2323.             if(s2->pict_type != FF_B_TYPE || avctx->skip_frame <= AVDISCARD_DEFAULT){

libavcodec/mpegvideo.c:88:1: <LHS trace>
86. };
87. 
88. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
    ^
89.     int i;
90. 

libavcodec/mpegvideo.c:88:1: Parameter `*state`
  86. };
  87. 
  88. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
      ^
  89.     int i;
  90. 

libavcodec/mpegvideo.c:96:9: Assignment
  94. 
  95.     for(i=0; i<3; i++){
  96.         uint32_t tmp= *state << 8;
              ^
  97.         *state= tmp + *(p++);
  98.         if(tmp == 0x100 || p==end)

libavcodec/mpegvideo.c:88:1: <RHS trace>
86. };
87. 
88. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
    ^
89.     int i;
90. 

libavcodec/mpegvideo.c:88:1: Parameter `*p`
  86. };
  87. 
  88. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
      ^
  89.     int i;
  90. 

libavcodec/mpegvideo.c:97:9: Binary operation: ([1099511627520, +oo] + [0, +oo]):unsigned32 by call to `ff_find_start_code` 
  95.     for(i=0; i<3; i++){
  96.         uint32_t tmp= *state << 8;
  97.         *state= tmp + *(p++);
              ^
  98.         if(tmp == 0x100 || p==end)
  99.             return p;
