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

libavcodec/mpeg12.c:1916:9: Assignment
1914.             return 0;
1915. 
1916.         start_code= -1;
              ^
1917.         buf = ff_find_start_code(buf, s->gb.buffer_end, &start_code);
1918.         mb_y= start_code - SLICE_MIN_START_CODE;

libavcodec/mpeg12.c:1917:15: Call
1915. 
1916.         start_code= -1;
1917.         buf = ff_find_start_code(buf, s->gb.buffer_end, &start_code);
                    ^
1918.         mb_y= start_code - SLICE_MIN_START_CODE;
1919.         if(mb_y < 0 || mb_y >= s->end_mb_y)

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

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

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

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

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

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