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

libavcodec/h264_parser.c:37:1: <LHS trace>
35. 
36. 
37. static int h264_find_frame_end(H264Context *h, const uint8_t *buf,
    ^
38.                                int buf_size)
39. {

libavcodec/h264_parser.c:37:1: Parameter `buf_size`
35. 
36. 
37. static int h264_find_frame_end(H264Context *h, const uint8_t *buf,
    ^
38.                                int buf_size)
39. {

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

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

libavcodec/h264_parser.c:108:5: Binary operation: ([0, buf_size] - [0, 5]):unsigned32
106.     pc->state             = 7;
107.     pc->frame_start_found = 0;
108.     return i - (state & 5);
         ^
109. }
110. 
