[FFmpeg-cvslog] avformat/oggenc: Simplify by using OFFSET and PARAM
Michael Niedermayer
git at videolan.org
Sun Feb 1 14:56:44 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Feb 1 14:35:15 2015 +0100| [e912f45b81654ca13344ae7ba09a2ac629df142c] | committer: Michael Niedermayer
avformat/oggenc: Simplify by using OFFSET and PARAM
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e912f45b81654ca13344ae7ba09a2ac629df142c
---
libavformat/oggenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 13f2cc7..50af8bd 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",
More information about the ffmpeg-cvslog
mailing list