Permalink
Browse files

ffserver: fix return value of add_codec()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
1 parent 8dc8994 commit ff814c75a3f52d264e6c6092736f6db2fb72a61c @michaelni michaelni committed Oct 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ffserver.c
View
@@ -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) {

0 comments on commit ff814c7

Please sign in to comment.