libavcodec/h264_parser.c:84: 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:84:5: Binary operation: ([0, buf_size] - [0, 5]):unsigned32
82.     pc->state=7;
83.     pc->frame_start_found= 0;
84.     return i-(state&5);
        ^
85. }
86. 
