ffserver_config: report not closed last tag
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
parent
5dc0f607e7
commit
5aed6f56d9
@ -1208,6 +1208,8 @@ int ffserver_parse_ffconfig(const char *filename, FFServerConfig *config)
|
||||
ffserver_parse_config_global(config, cmd, &p, line_num);
|
||||
}
|
||||
}
|
||||
if (stream || feed || redirect)
|
||||
ERROR("Not closed tag %s\n", stream ? "<Stream>" : (feed ? "<Feed>" : "<Redirect>"));
|
||||
|
||||
fclose(f);
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user