diff --git a/ffserver.c b/ffserver.c index 955c326b8c..4dd0ae24c8 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3825,7 +3825,7 @@ static void add_codec(FFStream *stream, AVCodecContext *av) AVStream *st; if(stream->nb_streams >= FF_ARRAY_ELEMS(stream->streams)) - return NULL; + return; /* compute default parameters */ switch(av->codec_type) {