This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 62dc591a80af9c96739a79196b16e2d652721ca1 Author: Niklas Haas <[email protected]> AuthorDate: Fri Feb 27 11:00:39 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Fri Feb 27 16:18:34 2026 +0000 swscale/ops: correctly shift pointers for last row handling The current logic didn't take into account the possible plane shift. Just re-compute the correctly shifted pointers using the row position. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <[email protected]> --- libswscale/ops.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libswscale/ops.c b/libswscale/ops.c index 517a029064..61926c4b38 100644 --- a/libswscale/ops.c +++ b/libswscale/ops.c @@ -1123,10 +1123,7 @@ static void op_pass_run(const SwsImg *out, const SwsImg *in, const int y, if (memcpy_in) { /* Safe part of last row */ - for (int i = 0; i < 4; i++) { - exec.in[i] += h_main * exec.in_stride[i]; - exec.out[i] += h_main * exec.out_stride[i]; - } + get_row_data(p, y + h_main, exec.in, exec.out); comp->func(&exec, comp->priv, 0, y + h_main, num_blocks - 1, y + h); } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
