aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggenc.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-08-10 21:03:39 +0200
committerClément Bœsch <ubitux@gmail.com>2011-08-10 21:03:39 +0200
commit9acffed9e0d7c454b7bc5c947f33cdf8cab3758c (patch)
tree65b51cd2281fbd1fc28211abc657008ebafd385c /libavformat/oggenc.c
parentdf2039f5739c4b1de869d26f9636ef38102db784 (diff)
downloadffmpeg-9acffed9e0d7c454b7bc5c947f33cdf8cab3758c.tar.gz
oggenc: add missing initializer braces to shut up gcc warning.
This fixes the warning: libavformat/oggenc.c:75:7: warning: missing braces around initializer [-Wmissing-braces]
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r--libavformat/oggenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 89f2459e1f..73b311dd3a 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -72,7 +72,7 @@ typedef struct {
static const AVOption options[] = {
{ "oggpagesize", "Set preferred Ogg page size.",
- offsetof(OGGContext, pref_size), FF_OPT_TYPE_INT, 0, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
+ offsetof(OGGContext, pref_size), FF_OPT_TYPE_INT, {.dbl = 0}, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
{ NULL },
};