Commit 41a052a6 authored by Michael Niedermayer's avatar Michael Niedermayer

cmdutils: fix "oswr may be used uninitialized" warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2ec8789e
......@@ -418,7 +418,7 @@ void parse_loglevel(int argc, char **argv, const OptionDef *options)
#define FLAGS(o) ((o)->type == AV_OPT_TYPE_FLAGS) ? AV_DICT_APPEND : 0
int opt_default(const char *opt, const char *arg)
{
const AVOption *oc, *of, *os, *oswr;
const AVOption *oc, *of, *os, *oswr = NULL;
char opt_stripped[128];
const char *p;
const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class(), *sc, *swr_class;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment