libavformat/avc.c:65: error: Buffer Overrun L1
  Offset: -1 Size: `end.length`.

libavformat/avc.c:63:1: <Length trace>
61. }
62. 
63. const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){
    ^
64.     const uint8_t *out= ff_avc_find_startcode_internal(p, end);
65.     if(p<out && out<end && !out[-1]) out--;

libavformat/avc.c:63:1: Parameter `*end`
61. }
62. 
63. const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){
    ^
64.     const uint8_t *out= ff_avc_find_startcode_internal(p, end);
65.     if(p<out && out<end && !out[-1]) out--;

libavformat/avc.c:65:29: Array access: Offset: -1 Size: end.length
63. const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){
64.     const uint8_t *out= ff_avc_find_startcode_internal(p, end);
65.     if(p<out && out<end && !out[-1]) out--;
                                ^
66.     return out;
67. }

const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){
    const uint8_t *out= ff_avc_find_startcode_internal(p, end);
    if(p<out && out<end && !out[-1]) out--;
    return out;
}
['const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){\n    const uint8_t *out= ff_avc_find_startcode_internal(p, end);\n    if(p<out && out<end && !out[-1]) out--;\n    return out;\n}']