mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 06:20:40 +00:00
avfilter/avfilter: Don't use av_uninit
GCC 9-13 do not emit warnings for this at all optimization levels even when -Wmaybe-uninitialized is not disabled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8d3fdb42c0
commit
7895d1860f
@ -835,14 +835,14 @@ int ff_filter_opt_parse(void *logctx, const AVClass *priv_class,
|
||||
{
|
||||
const AVOption *o = NULL;
|
||||
int ret;
|
||||
char *av_uninit(parsed_key), *av_uninit(value);
|
||||
const char *key;
|
||||
int offset= -1;
|
||||
|
||||
if (!args)
|
||||
return 0;
|
||||
|
||||
while (*args) {
|
||||
char *parsed_key, *value;
|
||||
const char *key;
|
||||
const char *shorthand = NULL;
|
||||
int additional_flags = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user