aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-03-19 15:42:37 +0100
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-03-19 17:30:35 +0100
commitc743a5e287f2c4732cf2787cdb500bae0228a31d (patch)
tree189e76a6b3ee5f57e479b180bdf5144476e787f9
parenteb4d1cb90e14250fc52c8fe73153b72603b029f8 (diff)
downloadffmpeg-c743a5e287f2c4732cf2787cdb500bae0228a31d.tar.gz
ffplay: add braces around union definition
Fix warning: ffplay.c: At top level: ffplay.c:3027: warning: missing braces around initializer ffplay.c:3027: warning: (near initialization for ‘options[53].u’)
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 8c34a22355..c44264ed4a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3024,7 +3024,7 @@ static const OptionDef options[] = {
#endif
{ "rdftspeed", OPT_INT | HAS_ARG| OPT_AUDIO | OPT_EXPERT, {(void*)&rdftspeed}, "rdft speed", "msecs" },
{ "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
- { "i", OPT_DUMMY, NULL, "ffmpeg compatibility dummy option", ""},
+ { "i", OPT_DUMMY, {NULL}, "ffmpeg compatibility dummy option", ""},
{ NULL, },
};