libavcodec/mpegvideo_parser.c:43: error: Integer Overflow L1
  ([1099511627520, +oo] + `*buf`):unsigned32 by call to `avpriv_mpv_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= avpriv_mpv_find_start_code(buf, buf_end, &start_code);
                 ^
44.         bytes_left = buf_end - buf;
45.         switch(start_code) {

libavcodec/mpegvideo.c:125:1: <LHS trace>
123. };
124. 
125. const uint8_t *avpriv_mpv_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 *avpriv_mpv_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 *avpriv_mpv_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 *avpriv_mpv_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 `avpriv_mpv_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;
