mirror of https://git.ffmpeg.org/ffmpeg.git
cmdutils: fix "oswr may be used uninitialized" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2ec8789eb8
commit
41a052a6ba
|
@ -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
|
#define FLAGS(o) ((o)->type == AV_OPT_TYPE_FLAGS) ? AV_DICT_APPEND : 0
|
||||||
int opt_default(const char *opt, const char *arg)
|
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];
|
char opt_stripped[128];
|
||||||
const char *p;
|
const char *p;
|
||||||
const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class(), *sc, *swr_class;
|
const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class(), *sc, *swr_class;
|
||||||
|
|
Loading…
Reference in New Issue