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

ffserver.c:2508:45: Call
2506.                 memcpy(fst->codec, st->codec, sizeof(AVCodecContext));
2507.                 if (fst->codec->extradata_size) {
2508.                     fst->codec->extradata = av_malloc(fst->codec->extradata_size);
                                                  ^
2509.                     if (!fst->codec->extradata)
2510.                         goto fail;

libavutil/mem.c:61:11: Unknown value from: memalign
  59.     ((char*)ptr)[-1]= diff;
  60. #elif defined (HAVE_MEMALIGN)
  61.     ptr = memalign(16,size);
                ^
  62.     /* Why 64?
  63.        Indeed, we should align it:

ffserver.c:2516:13: Call
2514.             }
2515. 
2516.             av_close_input_stream(s);
                  ^
2517.             av_free(pb);
2518.         }

libavformat/utils.c:2196:1: <LHS trace>
2194. }
2195. 
2196. void av_close_input_stream(AVFormatContext *s)
      ^
2197. {
2198.     int i;

libavformat/utils.c:2196:1: Parameter `s->nb_programs`
  2194. }
  2195. 
  2196. void av_close_input_stream(AVFormatContext *s)
        ^
  2197. {
  2198.     int i;

libavformat/utils.c:2220:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_stream` 
  2218.         av_free(st);
  2219.     }
  2220.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2221.         av_freep(&s->programs[i]->provider_name);
  2222.         av_freep(&s->programs[i]->name);
