[FFmpeg-cvslog] avfilter/showspectrum: use 0 dummies for range in const.
Clément Bœsch
git at videolan.org
Wed Nov 20 16:38:46 CET 2013
ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Wed Nov 20 16:37:59 2013 +0100| [ddaf543aa663374d645210b970a4297e2ce6db14] | committer: Clément Bœsch
avfilter/showspectrum: use 0 dummies for range in const.
This is consistent with other options.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddaf543aa663374d645210b970a4297e2ce6db14
---
libavfilter/avf_showspectrum.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index 34a3d92..fc32834 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -82,9 +82,9 @@ static const AVOption showspectrum_options[] = {
{ "lin", "linear", 0, AV_OPT_TYPE_CONST, {.i64=LINEAR}, 0, 0, FLAGS, "scale" },
{ "saturation", "color saturation multiplier", OFFSET(saturation), AV_OPT_TYPE_FLOAT, {.dbl = 1}, -10, 10, FLAGS },
{ "win_func", "set window function", OFFSET(win_func), AV_OPT_TYPE_INT, {.i64 = WFUNC_HANN}, 0, NB_WFUNC-1, FLAGS, "win_func" },
- { "hann", "Hann window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_HANN}, INT_MIN, INT_MAX, FLAGS, "win_func" },
- { "hamming", "Hamming window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_HAMMING}, INT_MIN, INT_MAX, FLAGS, "win_func" },
- { "blackman", "Blackman window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_BLACKMAN}, INT_MIN, INT_MAX, FLAGS, "win_func" },
+ { "hann", "Hann window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_HANN}, 0, 0, FLAGS, "win_func" },
+ { "hamming", "Hamming window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_HAMMING}, 0, 0, FLAGS, "win_func" },
+ { "blackman", "Blackman window", 0, AV_OPT_TYPE_CONST, {.i64 = WFUNC_BLACKMAN}, 0, 0, FLAGS, "win_func" },
{ NULL }
};
More information about the ffmpeg-cvslog
mailing list