mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/oggenc: Simplify by using OFFSET and PARAM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fa73358c9b
commit
e912f45b81
@ -81,7 +81,7 @@ static const AVOption options[] = {
|
||||
{ "serial_offset", "serial number offset",
|
||||
OFFSET(serial_offset), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, PARAM },
|
||||
{ "oggpagesize", "Set preferred Ogg page size.",
|
||||
offsetof(OGGContext, pref_size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
|
||||
OFFSET(pref_size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, MAX_PAGE_SIZE, PARAM},
|
||||
{ "pagesize", "preferred page size in bytes (deprecated)",
|
||||
OFFSET(pref_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, MAX_PAGE_SIZE, PARAM },
|
||||
{ "page_duration", "preferred page duration, in microseconds",
|
||||
|
Loading…
Reference in New Issue
Block a user