aboutsummaryrefslogtreecommitdiffstats
path: root/avplay.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-11-09 12:55:37 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-08 17:20:30 +0100
commit88f0cf8cd30c8ea283430e6710a7bd98bb9c0301 (patch)
tree82f6812166f5d27b4fe7a56f583aa568e1414d15 /avplay.c
parent943533d64c7fa7a1b2fc9559e67652c349d21d51 (diff)
downloadffmpeg-88f0cf8cd30c8ea283430e6710a7bd98bb9c0301.tar.gz
avplay: Correct function pointer assignments in options array
avplay.c:2928:5: warning: ISO C forbids initialization between function pointer and ‘void *’ [-Wpedantic]
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index 47701320bc..e5ee9dbbef 100644
--- a/avplay.c
+++ b/avplay.c
@@ -2940,7 +2940,7 @@ static const OptionDef options[] = {
{ "window_title", OPT_STRING | HAS_ARG, { &window_title }, "set window title", "window title" },
{ "vf", OPT_STRING | HAS_ARG, { &vfilters }, "video filters", "filter list" },
{ "rdftspeed", OPT_INT | HAS_ARG| OPT_AUDIO | OPT_EXPERT, { &rdftspeed }, "rdft speed", "msecs" },
- { "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, { opt_default }, "generic catch all option", "" },
+ { "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, { .func_arg = opt_default }, "generic catchall option", "" },
{ "i", 0, { NULL }, "avconv compatibility dummy option", ""},
{ "autorotate", OPT_BOOL, { &autorotate }, "automatically rotate video", "" },
{ "c", HAS_ARG | OPT_STRING | OPT_SPEC | OPT_INPUT, { .off = OFF(codec_names) }, "codec name", "codec" },