[FFmpeg-devel] [PATCH] ffserver_config: report not closed last tag

Lukasz Marek lukasz.m.luki2 at gmail.com
Sat Nov 8 19:18:02 CET 2014


Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
---
 ffserver_config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffserver_config.c b/ffserver_config.c
index c05c942..2ca484f 100644
--- a/ffserver_config.c
+++ b/ffserver_config.c
@@ -1303,6 +1303,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)
-- 
1.9.1



More information about the ffmpeg-devel mailing list