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 ? "" : (feed ? "" : "")); fclose(f); if (ret < 0)