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

libavcodec/mpeg12.c:2248:1: Parameter `*buf`
2246. }
2247. 
2248. static int decode_chunks(AVCodecContext *avctx,
      ^
2249.                              AVFrame *picture, int *data_size,
2250.                              const uint8_t *buf, int buf_size)

libavcodec/mpeg12.c:2262:19: Call
2260.         /* find next start code */
2261.         uint32_t start_code = -1;
2262.         buf_ptr = ff_find_start_code(buf_ptr,buf_end, &start_code);
                        ^
2263.         if (start_code > 0x1ff){
2264.             if(s2->pict_type != AV_PICTURE_TYPE_B || avctx->skip_frame <= AVDISCARD_DEFAULT){

libavcodec/mpegvideo.c:124:1: <LHS trace>
122. };
123. 
124. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
     ^
125.     int i;
126. 

libavcodec/mpegvideo.c:124:1: Parameter `*state`
  122. };
  123. 
  124. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
       ^
  125.     int i;
  126. 

libavcodec/mpegvideo.c:132:9: Assignment
  130. 
  131.     for(i=0; i<3; i++){
  132.         uint32_t tmp= *state << 8;
               ^
  133.         *state= tmp + *(p++);
  134.         if(tmp == 0x100 || p==end)

libavcodec/mpegvideo.c:124:1: <RHS trace>
122. };
123. 
124. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
     ^
125.     int i;
126. 

libavcodec/mpegvideo.c:124:1: Parameter `*p`
  122. };
  123. 
  124. const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
       ^
  125.     int i;
  126. 

libavcodec/mpegvideo.c:133:9: Binary operation: ([1099511627520, +oo] + *buf):unsigned32 by call to `ff_find_start_code` 
  131.     for(i=0; i<3; i++){
  132.         uint32_t tmp= *state << 8;
  133.         *state= tmp + *(p++);
               ^
  134.         if(tmp == 0x100 || p==end)
  135.             return p;
