libavformat/avidec.c:368: error: Integer Overflow L2
  ([0, 20] - 1):unsigned32.

libavformat/avidec.c:346:17: <LHS trace>
344.                 av_freep(&s->streams[0]->codec->extradata);
345.                 av_freep(&s->streams[0]);
346.                 s->nb_streams = 0;
                     ^
347.                 if (ENABLE_DV_DEMUXER) {
348.                     avi->dv_demux = dv_init_demux(s);

libavformat/avidec.c:346:17: Assignment
344.                 av_freep(&s->streams[0]->codec->extradata);
345.                 av_freep(&s->streams[0]);
346.                 s->nb_streams = 0;
                     ^
347.                 if (ENABLE_DV_DEMUXER) {
348.                     avi->dv_demux = dv_init_demux(s);

libavformat/avidec.c:348:37: Call
346.                 s->nb_streams = 0;
347.                 if (ENABLE_DV_DEMUXER) {
348.                     avi->dv_demux = dv_init_demux(s);
                                         ^
349.                     if (!avi->dv_demux)
350.                         goto fail;

libavformat/dv.c:263:1: Parameter `s->nb_streams`
  261.  */
  262. 
  263. DVDemuxContext* dv_init_demux(AVFormatContext *s)
       ^
  264. {
  265.     DVDemuxContext *c;

libavformat/avidec.c:368:17: Binary operation: ([0, 20] - 1):unsigned32
366.                  */
367. 
368.                 stream_index = s->nb_streams - 1;
                     ^
369.                 url_fskip(pb, size - 9*4);
370.                 break;
