ffserver: fix return value of add_codec()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-13 05:36:41 +02:00
parent 8dc8994427
commit ff814c75a3

View File

@ -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) {