diff --git a/ffserver.c b/ffserver.c index 495207520f..6bc447c671 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4274,13 +4274,14 @@ static int parse_ffconfig(const char *filename) fprintf(stderr, "%s:%d: No corresponding for \n", filename, line_num); errors++; - } + } else { if (!redirect->feed_filename[0]) { fprintf(stderr, "%s:%d: No URL found for \n", filename, line_num); errors++; } redirect = NULL; + } } else if (!strcasecmp(cmd, "LoadModule")) { get_arg(arg, sizeof(arg), &p); #ifdef HAVE_DLOPEN