Skip to content
Snippets Groups Projects
Commit 2ac5a1a2 authored by Zalewa's avatar Zalewa Committed by Michael Niedermayer
Browse files

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

parent 2b5b0011
No related branches found
No related tags found
No related merge requests found
...@@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd, ...@@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
av_dict_free(&config->audio_opts); av_dict_free(&config->audio_opts);
avcodec_free_context(&config->dummy_vctx); avcodec_free_context(&config->dummy_vctx);
avcodec_free_context(&config->dummy_actx); avcodec_free_context(&config->dummy_actx);
config->no_video = 0;
config->no_audio = 0;
*pstream = NULL; *pstream = NULL;
} else if (!av_strcasecmp(cmd, "File") || } else if (!av_strcasecmp(cmd, "File") ||
!av_strcasecmp(cmd, "ReadOnlyFile")) { !av_strcasecmp(cmd, "ReadOnlyFile")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment