1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

ffserver: NoVideo and NoAudio flags weren't cleared between streams.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Zalewa 2016-02-13 15:30:15 +01:00 committed by Michael Niedermayer
parent 2b5b001182
commit 2ac5a1a28e

View File

@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
av_dict_free(&config->audio_opts);
avcodec_free_context(&config->dummy_vctx);
avcodec_free_context(&config->dummy_actx);
config->no_video = 0;
config->no_audio = 0;
*pstream = NULL;
} else if (!av_strcasecmp(cmd, "File") ||
!av_strcasecmp(cmd, "ReadOnlyFile")) {