X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Foggenc.c;h=73b311dd3a8b96835975c29f71ac687c2935c36b;hb=23c1db9b83b5928a312b8d7cd753d04d49c252b6;hp=89f2459e1ffbd4472ce07ee4b0aabef7897af39e;hpb=3c3daf4d198306295e3342631f19422bdc258dbb;p=ffmpeg diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 89f2459e1ff..73b311dd3a8 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 }, };