On 5/4/19, Moritz Barsnick <barsn...@gmx.net> wrote: > On Sat, May 04, 2019 at 16:19:13 +0200, Paul B Mahol wrote: >> > + { "speed", "speed factor", OFFSET(speed), AV_OPT_TYPE_DOUBLE, { >> > .dbl = >> > 1.0 }, DBL_MIN, DBL_MAX, FLAGS }, >> >> Why is this allowed to be negative? > > In my reading (and intent), it's forbidden to be negative. Both min and > max are macros representing positives. > > I don't own a standard, but web sources tell me DBL_MIN is the > "minimum, normalized, positive value of [type] double", e.g. > https://en.cppreference.com/w/c/types/limits >
Thanks, will apply soon. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".