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

libavcodec/mpeg12.c:2292:1: Parameter `*buf`
2290. }
2291. 
2292. static int decode_chunks(AVCodecContext *avctx,
      ^
2293.                              AVFrame *picture, int *data_size,
2294.                              const uint8_t *buf, int buf_size)

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

libavcodec/mpegvideo.c:82:1: <LHS trace>
80. 
81. 
82. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
    ^
83.     int i;
84. 

libavcodec/mpegvideo.c:82:1: Parameter `*state`
  80. 
  81. 
  82. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
      ^
  83.     int i;
  84. 

libavcodec/mpegvideo.c:90:9: Assignment
  88. 
  89.     for(i=0; i<3; i++){
  90.         uint32_t tmp= *state << 8;
              ^
  91.         *state= tmp + *(p++);
  92.         if(tmp == 0x100 || p==end)

libavcodec/mpegvideo.c:82:1: <RHS trace>
80. 
81. 
82. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
    ^
83.     int i;
84. 

libavcodec/mpegvideo.c:82:1: Parameter `*p`
  80. 
  81. 
  82. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
      ^
  83.     int i;
  84. 

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