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

libavcodec/mpegvideo_parser.c:26:1: Parameter `*buf`
24. #include "mpegvideo.h"
25. 
26. static void mpegvideo_extract_headers(AVCodecParserContext *s,
    ^
27.                                       AVCodecContext *avctx,
28.                                       const uint8_t *buf, int buf_size)

libavcodec/mpegvideo_parser.c:43:14: Call
41.     while (buf < buf_end) {
42.         start_code= -1;
43.         buf= ff_find_start_code(buf, buf_end, &start_code);
                 ^
44.         bytes_left = buf_end - buf;
45.         switch(start_code) {

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;
