Commit ff814c75 authored by Michael Niedermayer's avatar Michael Niedermayer

ffserver: fix return value of add_codec()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8dc89944
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment