ffserver.c:2754: error: Integer Overflow L2
  ([0, 1] - 1):unsigned32 by call to `av_close_input_stream`.

ffserver.c:2751:17: Call
2749.                 AVStream *fst = feed->streams[i];
2750.                 AVStream *st = s->streams[i];
2751.                 avcodec_copy_context(fst->codec, st->codec);
                      ^
2752.             }
2753. 

libavcodec/options.c:477:1: Parameter `*src`
  475. }
  476. 
  477. int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
       ^
  478. {
  479.     if (dest->codec) { // check that the dest context is uninitialized

ffserver.c:2754:13: Call
2752.             }
2753. 
2754.             av_close_input_stream(s);
                  ^
2755.             av_free(pb);
2756.         }

libavformat/utils.c:2439:1: <LHS trace>
2437. }
2438. 
2439. void av_close_input_stream(AVFormatContext *s)
      ^
2440. {
2441.     int i;

libavformat/utils.c:2439:1: Parameter `s->nb_programs`
  2437. }
  2438. 
  2439. void av_close_input_stream(AVFormatContext *s)
        ^
  2440. {
  2441.     int i;

libavformat/utils.c:2463:9: Binary operation: ([0, 1] - 1):unsigned32 by call to `av_close_input_stream` 
  2461.         av_free(st);
  2462.     }
  2463.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2464. #if LIBAVFORMAT_VERSION_INT < (53<<16)
  2465.         av_freep(&s->programs[i]->provider_name);
