aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-31 13:22:31 +0300
committerMartin Storsjö <martin@martin.st>2012-09-04 23:13:44 +0300
commite6153f173a49e5bfa70b0c04d2f82930533597b9 (patch)
tree7eac138db7402d4c6692433af9efdc8a30d4a486 /libavformat/segment.c
parentd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078 (diff)
downloadffmpeg-e6153f173a49e5bfa70b0c04d2f82930533597b9.tar.gz
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 3d55e4cbaa..88d80a41b1 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -249,8 +249,8 @@ static const AVOption options[] = {
{ "segment_format", "container format used for the segments", OFFSET(format), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, E },
{ "segment_time", "segment length in seconds", OFFSET(time), AV_OPT_TYPE_FLOAT, {.dbl = 2}, 0, FLT_MAX, E },
{ "segment_list", "output the segment list", OFFSET(list), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, E },
- { "segment_list_size", "maximum number of playlist entries", OFFSET(size), AV_OPT_TYPE_INT, {.dbl = 5}, 0, INT_MAX, E },
- { "segment_wrap", "number after which the index wraps", OFFSET(wrap), AV_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, E },
+ { "segment_list_size", "maximum number of playlist entries", OFFSET(size), AV_OPT_TYPE_INT, {.i64 = 5}, 0, INT_MAX, E },
+ { "segment_wrap", "number after which the index wraps", OFFSET(wrap), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E },
{ NULL },
};