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

ffserver.c:2746:17: Call
2744.                 AVStream *fst = feed->streams[i];
2745.                 AVStream *st = s->streams[i];
2746.                 avcodec_copy_context(fst->codec, st->codec);
                      ^
2747.             }
2748. 

libavcodec/options.c:524:1: Parameter `*src`
  522. }
  523. 
  524. int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
       ^
  525. {
  526.     if (dest->codec) { // check that the dest context is uninitialized

ffserver.c:2749:13: Call
2747.             }
2748. 
2749.             av_close_input_stream(s);
                  ^
2750.             av_free(pb);
2751.         }

libavformat/utils.c:2557:1: Parameter `s->nb_programs`
  2555. }
  2556. 
  2557. void av_close_input_stream(AVFormatContext *s)
        ^
  2558. {
  2559.     flush_packet_queue(s);

libavformat/utils.c:2562:5: Call
  2560.     if (s->iformat->read_close)
  2561.         s->iformat->read_close(s);
  2562.     avformat_free_context(s);
            ^
  2563. }
  2564. 

libavformat/utils.c:2565:1: <LHS trace>
2563. }
2564. 
2565. void avformat_free_context(AVFormatContext *s)
      ^
2566. {
2567.     int i;

libavformat/utils.c:2565:1: Parameter `s->nb_programs`
    2563. }
    2564. 
    2565. void avformat_free_context(AVFormatContext *s)
          ^
    2566. {
    2567.     int i;

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