libavcodec/h264_parser.c:65: error: Integer Overflow L2
  ([0, `buf_size`] - [0, 5]):unsigned32.

libavcodec/h264_parser.c:34:1: <LHS trace>
32. 
33. 
34. int ff_h264_find_frame_end(H264Context *h, const uint8_t *buf, int buf_size)
    ^
35. {
36.     int i;

libavcodec/h264_parser.c:34:1: Parameter `buf_size`
32. 
33. 
34. int ff_h264_find_frame_end(H264Context *h, const uint8_t *buf, int buf_size)
    ^
35. {
36.     int i;

libavcodec/h264_parser.c:43:9: <RHS trace>
41.     state= pc->state;
42.     if(state>13)
43.         state= 7;
            ^
44. 
45.     for(i=0; i<buf_size; i++){

libavcodec/h264_parser.c:43:9: Assignment
41.     state= pc->state;
42.     if(state>13)
43.         state= 7;
            ^
44. 
45.     for(i=0; i<buf_size; i++){

libavcodec/h264_parser.c:65:21: Binary operation: ([0, buf_size] - [0, 5]):unsigned32
63.                     pc->state=7;
64.                     pc->frame_start_found= 0;
65.                     return i-(state&5);
                        ^
66.                 }
67.             }else if(v==1 || v==2 || v==5){
