diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 14:35:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 14:35:15 +0100 |
commit | e912f45b81654ca13344ae7ba09a2ac629df142c (patch) | |
tree | fb676be244bae3f5d22e9661c5ea53f474ceca86 /libavformat/oggenc.c | |
parent | fa73358c9bfd3cb433c6f31a31fc4128c762d809 (diff) | |
download | ffmpeg-e912f45b81654ca13344ae7ba09a2ac629df142c.tar.gz |
avformat/oggenc: Simplify by using OFFSET and PARAM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r-- | libavformat/oggenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 13f2cc7df8..50af8bde17 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -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", |