aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-10-08 23:04:53 +0800
committerGyan Doshi <ffmpeg@gyani.pro>2019-10-21 15:42:04 +0530
commit9c3178808ddf95b33589cd3d6210cff0ed2e3c5e (patch)
treed8fa99dd81f6b5635438857d27c5d84fbdd5e2f3
parent190f52ba3b16fd746886cb288a418db6afe9917e (diff)
downloadffmpeg-9c3178808ddf95b33589cd3d6210cff0ed2e3c5e.tar.gz
avfilter/af_silencedetect: change mono default to integer literal
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro>
-rw-r--r--libavfilter/af_silencedetect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index 3eb378db0b..ff3b219e77 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -58,8 +58,8 @@ static const AVOption silencedetect_options[] = {
{ "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, DBL_MAX, FLAGS },
{ "d", "set minimum duration in seconds", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64=2000000}, 0, MAX_DURATION,FLAGS },
{ "duration", "set minimum duration in seconds", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64=2000000}, 0, MAX_DURATION,FLAGS },
- { "mono", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0.}, 0, 1, FLAGS },
- { "m", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0.}, 0, 1, FLAGS },
+ { "mono", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
+ { "m", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
{ NULL }
};