ffserver: fix return value of add_codec()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
parent 8dc8994427
commit ff814c75a3
  1. 2
      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) {

Loading…
Cancel
Save