aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-11-12 22:00:49 +0100
committerMarton Balint <cus@passwd.hu>2018-11-15 22:34:53 +0100
commitbb01cd3cc01c9982e4b57f8ce5cfd6ec4724f848 (patch)
tree60d4bd862c229af9b9f45969d330cf850709e1dc
parentfed94c2f22fc165e1b012e3b621802b4d03e9214 (diff)
downloadffmpeg-bb01cd3cc01c9982e4b57f8ce5cfd6ec4724f848.tar.gz
avfilter/af_afade: fix duration maximum
Signed-off-by: Marton Balint <cus@passwd.hu> (cherry picked from commit aecd63b926812148014c4f01270473722ae5e945)
-rw-r--r--libavfilter/af_afade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c
index 9aab644039..8d9ba916bf 100644
--- a/libavfilter/af_afade.c
+++ b/libavfilter/af_afade.c
@@ -245,8 +245,8 @@ static const AVOption afade_options[] = {
{ "ns", "set number of samples for fade duration", OFFSET(nb_samples), AV_OPT_TYPE_INT64, {.i64 = 44100}, 1, INT64_MAX, FLAGS },
{ "start_time", "set time to start fading", OFFSET(start_time), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT64_MAX, FLAGS },
{ "st", "set time to start fading", OFFSET(start_time), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT64_MAX, FLAGS },
- { "duration", "set fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT32_MAX, FLAGS },
- { "d", "set fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT32_MAX, FLAGS },
+ { "duration", "set fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT64_MAX, FLAGS },
+ { "d", "set fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, INT64_MAX, FLAGS },
{ "curve", "set fade curve type", OFFSET(curve), AV_OPT_TYPE_INT, {.i64 = TRI }, 0, NB_CURVES - 1, FLAGS, "curve" },
{ "c", "set fade curve type", OFFSET(curve), AV_OPT_TYPE_INT, {.i64 = TRI }, 0, NB_CURVES - 1, FLAGS, "curve" },
{ "tri", "linear slope", 0, AV_OPT_TYPE_CONST, {.i64 = TRI }, 0, 0, FLAGS, "curve" },