This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 71f9ea2d840ee69482c12c79c9987a641331c1f8 Author: Ayoub Nabil Boubagrat <[email protected]> AuthorDate: Fri Aug 28 11:53:43 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Mon Aug 31 13:42:52 2026 +0000 avfilter/aecho: reject non-finite delays and decays Signed-off-by: Ayoub Nabil Boubagrat <[email protected]> --- libavfilter/af_aecho.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_aecho.c b/libavfilter/af_aecho.c index ff316eaa67..dedd559465 100644 --- a/libavfilter/af_aecho.c +++ b/libavfilter/af_aecho.c @@ -136,11 +136,11 @@ static av_cold int init(AVFilterContext *ctx) return AVERROR(ENOMEM); for (i = 0; i < nb_delays; i++) { - if (s->delay[i] <= 0 || s->delay[i] > 90000) { + if (!(s->delay[i] > 0 && s->delay[i] <= 90000)) { av_log(ctx, AV_LOG_ERROR, "delay[%d]: %f is out of allowed range: (0, 90000]\n", i, s->delay[i]); return AVERROR(EINVAL); } - if (s->decay[i] <= 0 || s->decay[i] > 1) { + if (!(s->decay[i] > 0 && s->decay[i] <= 1)) { av_log(ctx, AV_LOG_ERROR, "decay[%d]: %f is out of allowed range: (0, 1]\n", i, s->decay[i]); return AVERROR(EINVAL); } -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
