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

libavcodec/mpeg12.c:1903:9: Assignment
1901.             return 0;
1902. 
1903.         start_code = -1;
              ^
1904.         buf = ff_find_start_code(buf, s->gb.buffer_end, &start_code);
1905.         mb_y= (start_code - SLICE_MIN_START_CODE) << field_pic;

libavcodec/mpeg12.c:1904:15: Call
1902. 
1903.         start_code = -1;
1904.         buf = ff_find_start_code(buf, s->gb.buffer_end, &start_code);
                    ^
1905.         mb_y= (start_code - SLICE_MIN_START_CODE) << field_pic;
1906.         if (s->picture_structure == PICT_BOTTOM_FIELD)

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] + [0, +oo]):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;
