author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-13 03:36:41 (GMT) |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-13 03:36:41 (GMT) |
commit | ff814c75a3f52d264e6c6092736f6db2fb72a61c (patch) | |
tree | 9dc86597f1bbd319e6713d8f2c5f3f87dd559452 | |
parent | 8dc89944270aa223a960218e62e88164f8eda359 (diff) | |
download | ffmpeg-ff814c75a3f52d264e6c6092736f6db2fb72a61c.zip ffmpeg-ff814c75a3f52d264e6c6092736f6db2fb72a61c.tar.gz ffmpeg-ff814c75a3f52d264e6c6092736f6db2fb72a61c.tar.bz2 |
ffserver: fix return value of add_codec()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |