Commit 536baf6c authored by Michael Niedermayer's avatar Michael Niedermayer

oggenc: Fix pref_duration AVOption type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ded2f187
...@@ -81,7 +81,7 @@ static const AVOption options[] = { ...@@ -81,7 +81,7 @@ static const AVOption options[] = {
{ "pagesize", "preferred page size in bytes (deprecated)", { "pagesize", "preferred page size in bytes (deprecated)",
OFFSET(pref_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, MAX_PAGE_SIZE, PARAM }, OFFSET(pref_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, MAX_PAGE_SIZE, PARAM },
{ "page_duration", "preferred page duration, in microseconds", { "page_duration", "preferred page duration, in microseconds",
OFFSET(pref_duration), AV_OPT_TYPE_INT, { .i64 = 1000000 }, 0, INT64_MAX, PARAM }, OFFSET(pref_duration), AV_OPT_TYPE_INT64, { .i64 = 1000000 }, 0, INT64_MAX, PARAM },
{ NULL }, { NULL },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment