libavformat/avidec.c:476: error: Buffer Overrun L1
  Offset: -1 Size: 20.

libavformat/avidec.c:264:1: <Offset trace>
262. }
263. 
264. static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
     ^
265. {
266.     AVIContext *avi = s->priv_data;

libavformat/avidec.c:264:1: Parameter `s->nb_streams`
262. }
263. 
264. static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
     ^
265. {
266.     AVIContext *avi = s->priv_data;

libavformat/avidec.c:264:1: <Length trace>
262. }
263. 
264. static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
     ^
265. {
266.     AVIContext *avi = s->priv_data;

libavformat/avidec.c:264:1: Parameter `s->streams[*]`
262. }
263. 
264. static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
     ^
265. {
266.     AVIContext *avi = s->priv_data;

libavformat/avidec.c:476:22: Array access: Offset: -1 Size: 20
474.                 if (cur_pos < list_end)
475.                     size = FFMIN(size, list_end - cur_pos);
476.                 st = s->streams[stream_index];
                          ^
477.                 switch(codec_type) {
478.                 case AVMEDIA_TYPE_VIDEO:
