ffserver: fix return value of add_codec()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ff814c75a3)

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

View File

@ -3806,7 +3806,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) {