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

libavcodec/mpeg12.c:2261:1: Parameter `*buf`
2259. }
2260. 
2261. static int decode_chunks(AVCodecContext *avctx,
      ^
2262.                          AVFrame *picture, int *data_size,
2263.                          const uint8_t *buf, int buf_size)

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

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

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

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

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

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

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