diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-08 19:17:48 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-12 23:33:08 +0100 |
commit | 5aed6f56d91b9a53f5b872432d911a24cb5f4be8 (patch) | |
tree | 647c7eb75713a3927268cc7b3facedd6c48add4c /ffserver_config.c | |
parent | 5dc0f607e795a61614cbb9c162f16c1c8cc48a47 (diff) | |
download | ffmpeg-5aed6f56d91b9a53f5b872432d911a24cb5f4be8.tar.gz |
ffserver_config: report not closed last tag
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffserver_config.c')
-rw-r--r-- | ffserver_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver_config.c b/ffserver_config.c index 5bb2d2981f..ac89063d8a 100644 --- a/ffserver_config.c +++ b/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) |