OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec8789
)
cmdutils: fix "oswr may be used uninitialized" warning
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Apr 2012 16:38:10 +0000
(18:38 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Apr 2012 16:38:10 +0000
(18:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c
patch
|
blob
|
history
diff --git
a/cmdutils.c
b/cmdutils.c
index
cd8b365
..
758a9a0
100644
(file)
--- a/
cmdutils.c
+++ b/
cmdutils.c
@@
-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;