[FFmpeg-cvslog] ffplay: add braces around union definition
Stefano Sabatini
git at videolan.org
Sat Mar 19 17:35:52 CET 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Mar 19 15:42:37 2011 +0100| [c743a5e287f2c4732cf2787cdb500bae0228a31d] | committer: Stefano Sabatini
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’)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c743a5e287f2c4732cf2787cdb500bae0228a31d
---
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, },
};
More information about the ffmpeg-cvslog
mailing list