From 536baf6cc5d1db789c9f903776dccb7a41b62a6e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 13 Apr 2013 20:23:01 +0200 Subject: [PATCH] oggenc: Fix pref_duration AVOption type Signed-off-by: Michael Niedermayer --- libavformat/oggenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 3d4519c1ac..9a815d14a2 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -81,7 +81,7 @@ static const AVOption options[] = { { "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", - 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 }, };