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

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

libavcodec/options.c:488:1: Parameter `*src`
  486. }
  487. 
  488. int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
       ^
  489. {
  490.     if (dest->codec) { // check that the dest context is uninitialized

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

libavformat/utils.c:2445:1: <LHS trace>
2443. }
2444. 
2445. void av_close_input_stream(AVFormatContext *s)
      ^
2446. {
2447.     int i;

libavformat/utils.c:2445:1: Parameter `s->nb_programs`
  2443. }
  2444. 
  2445. void av_close_input_stream(AVFormatContext *s)
        ^
  2446. {
  2447.     int i;

libavformat/utils.c:2469:9: Binary operation: ([0, 1] - 1):unsigned32 by call to `av_close_input_stream` 
  2467.         av_free(st);
  2468.     }
  2469.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2470. #if FF_API_OLD_METADATA
  2471.         av_freep(&s->programs[i]->provider_name);
