check that redirect is set, fixes CID13 RUN2
Originally committed as revision 13524 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7e183a93d8
commit
a9c1bb711b
@ -4274,13 +4274,14 @@ static int parse_ffconfig(const char *filename)
|
||||
fprintf(stderr, "%s:%d: No corresponding <Redirect> for </Redirect>\n",
|
||||
filename, line_num);
|
||||
errors++;
|
||||
}
|
||||
} else {
|
||||
if (!redirect->feed_filename[0]) {
|
||||
fprintf(stderr, "%s:%d: No URL found for <Redirect>\n",
|
||||
filename, line_num);
|
||||
errors++;
|
||||
}
|
||||
redirect = NULL;
|
||||
}
|
||||
} else if (!strcasecmp(cmd, "LoadModule")) {
|
||||
get_arg(arg, sizeof(arg), &p);
|
||||
#ifdef HAVE_DLOPEN
|
||||
|
Loading…
x
Reference in New Issue
Block a user