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

libavcodec/mpeg12.c:2315:1: Parameter `*buf`
2313. }
2314. 
2315. static int decode_chunks(AVCodecContext *avctx,
      ^
2316.                              AVFrame *picture, int *data_size,
2317.                              const uint8_t *buf, int buf_size)

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

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

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

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

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

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

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