libavcodec/h264_refs.c:155: error: Buffer Overrun L2
  Offset: [0, 95] Size: 48.

libavcodec/h264_refs.c:154:18: <Offset trace>
152. 
153.         if (lens[0] == lens[1] && lens[1] > 1) {
154.             for (i = 0; i < lens[0] &&
                      ^
155.                         sl->ref_list[0][i].parent->f->buf[0]->buffer ==
156.                         sl->ref_list[1][i].parent->f->buf[0]->buffer; i++);

libavcodec/h264_refs.c:154:18: Assignment
152. 
153.         if (lens[0] == lens[1] && lens[1] > 1) {
154.             for (i = 0; i < lens[0] &&
                      ^
155.                         sl->ref_list[0][i].parent->f->buf[0]->buffer ==
156.                         sl->ref_list[1][i].parent->f->buf[0]->buffer; i++);

libavcodec/h264_refs.c:123:1: <Length trace>
121. }
122. 
123. static void h264_initialise_ref_list(const H264Context *h, H264SliceContext *sl)
     ^
124. {
125.     int i, len;

libavcodec/h264_refs.c:123:1: Parameter `sl->ref_list[*][*]`
121. }
122. 
123. static void h264_initialise_ref_list(const H264Context *h, H264SliceContext *sl)
     ^
124. {
125.     int i, len;

libavcodec/h264_refs.c:155:25: Array access: Offset: [0, 95] Size: 48
153.         if (lens[0] == lens[1] && lens[1] > 1) {
154.             for (i = 0; i < lens[0] &&
155.                         sl->ref_list[0][i].parent->f->buf[0]->buffer ==
                             ^
156.                         sl->ref_list[1][i].parent->f->buf[0]->buffer; i++);
157.             if (i == lens[0]) {
