This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit bfbc5632f1294582b98e2ea352e693c3804dba44 Author: Jun Zhao <[email protected]> AuthorDate: Thu Apr 23 11:27:27 2026 +0800 Commit: Jun Zhao <[email protected]> CommitDate: Tue Apr 28 06:14:38 2026 +0000 avfilter/vf_libplacebo: propagate ff_scale_adjust_dimensions() error ff_scale_adjust_dimensions() can now return a negative error code when the evaluated output dimensions are non-positive. Check the return value and fail fast instead of continuing with the unadjusted result. Signed-off-by: Jun Zhao <[email protected]> --- libavfilter/vf_libplacebo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index b01a2f6eeb..31c6120965 100644 --- a/libavfilter/vf_libplacebo.c +++ b/libavfilter/vf_libplacebo.c @@ -1499,9 +1499,9 @@ static int libplacebo_config_output(AVFilterLink *outlink) } } - ff_scale_adjust_dimensions(inlink, &outlink->w, &outlink->h, - force_oar, s->force_divisible_by, - s->reset_sar ? sar_in : 1.0); + RET(ff_scale_adjust_dimensions(inlink, &outlink->w, &outlink->h, + force_oar, s->force_divisible_by, + s->reset_sar ? sar_in : 1.0)); if (s->fit_mode == FIT_SCALE_DOWN && s->fit_sense == FIT_CONSTRAINT) { int w_adj = s->reset_sar ? sar_in * inlink->w : inlink->w; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
