Skip to content

Commit

Permalink
ffserver: fix return value of add_codec()
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Oct 13, 2012
1 parent 8dc8994 commit ff814c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffserver.c
Expand Up @@ -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) {
Expand Down

0 comments on commit ff814c7

Please sign in to comment.