summaryrefslogtreecommitdiff
path: root/libavformat/options.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-08 14:59:47 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-08 15:01:02 +0200
commit5bd6ec6d59737db63b12312f20ac0f3f0b89502e (patch)
tree49945a3dcbf5dbd8b164ddebbf3b2c9af6bee247 /libavformat/options.c
parentb7847a3f2eb56591590ab065b65c335892af6e4c (diff)
options: Add missing braces around struct initializer.
This fixes the warning: libavformat/options.c:62:1: warning: missing braces around initializer [-Wmissing-braces]
Diffstat (limited to 'libavformat/options.c')
-rw-r--r--libavformat/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c
index 6ffd1a7435..c11f19e687 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -59,7 +59,7 @@ static const AVOption options[]={
{"fdebug", "print specific debug info", OFFSET(debug), FF_OPT_TYPE_FLAGS, {.dbl = DEFAULT }, 0, INT_MAX, E|D, "fdebug"},
{"ts", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_FDEBUG_TS }, INT_MIN, INT_MAX, E|D, "fdebug"},
{"max_delay", "maximum muxing or demuxing delay in microseconds", OFFSET(max_delay), FF_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, E|D},
-{"fpsprobesize", "number of frames used to probe fps", OFFSET(fps_probe_size), FF_OPT_TYPE_INT, -1, -1, INT_MAX-1, D},
+{"fpsprobesize", "number of frames used to probe fps", OFFSET(fps_probe_size), FF_OPT_TYPE_INT, {.dbl = -1}, -1, INT_MAX-1, D},
{NULL},
};