]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggenc.c
oggenc: Set the right AVOption size for the pref_duration option
[ffmpeg] / libavformat / oggenc.c
index 0d8e239e02d82314666b14dc6ca2d0ff3c027581..d148f5b7dad66dd915564d232d8c89e991586f6f 100644 (file)
@@ -80,7 +80,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 },
 };