ffserver_config: report not closed last tag

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
pull/97/head
Lukasz Marek 10 years ago
parent 5dc0f607e7
commit 5aed6f56d9
  1. 2
      ffserver_config.c

@ -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…
Cancel
Save