[FFmpeg-devel] [PATCH] ffplay: add braces around union definition
Stefano Sabatini
stefano.sabatini-lala at poste.it
Sat Mar 19 15:44:34 CET 2011
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’)
---
ffplay.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 8c34a22..c44264e 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, },
};
--
1.7.2.3
More information about the ffmpeg-devel
mailing list