mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 01:36:16 +08:00
ffserver: fix return value of add_codec()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -3825,7 +3825,7 @@ static void add_codec(FFStream *stream, AVCodecContext *av)
|
|||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
||||||
if(stream->nb_streams >= FF_ARRAY_ELEMS(stream->streams))
|
if(stream->nb_streams >= FF_ARRAY_ELEMS(stream->streams))
|
||||||
return NULL;
|
return;
|
||||||
|
|
||||||
/* compute default parameters */
|
/* compute default parameters */
|
||||||
switch(av->codec_type) {
|
switch(av->codec_type) {
|
||||||
|
Reference in New Issue
Block a user