This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8abe2737365fdedca30d2ad1efb846f2daac07c0 Author: Niklas Haas <[email protected]> AuthorDate: Sat Nov 7 15:38:18 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sun Nov 8 01:48:12 2026 +0000 swscale/uops_backend: drop unnecessary pointer indirection Previously used for the CONTINUE() macro, which we can no longer use. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/uops_backend.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libswscale/uops_backend.c b/libswscale/uops_backend.c index b5554800a0..94d22e404e 100644 --- a/libswscale/uops_backend.c +++ b/libswscale/uops_backend.c @@ -114,28 +114,27 @@ static void process_c(const SwsOpExec *exec, const void *priv, const SwsOpImpl *impl = chain->impl; block_t x, y, z, w; /* allocate enough space for any intermediate */ - SwsOpIter iterdata; - SwsOpIter *iter = &iterdata; - iter->exec = exec; + SwsOpIter iter; + iter.exec = exec; for (int i = 0; i < 4; i++) { - iter->in[i] = (uintptr_t) exec->in[i]; - iter->out[i] = (uintptr_t) exec->out[i]; + iter.in[i] = (uintptr_t) exec->in[i]; + iter.out[i] = (uintptr_t) exec->out[i]; } void (*entry)(SwsOpIter *, const SwsOpImpl *, void *, void *, void *, void *); entry = (void (*)(SwsOpIter *, const SwsOpImpl *, void *, void *, void *, void *)) impl->func; - for (iter->y = y_start; iter->y < y_end; iter->y++) { + for (iter.y = y_start; iter.y < y_end; iter.y++) { for (int block = bx_start; block < bx_end; block++) { - iter->x = block * SWS_BLOCK_SIZE; - entry(iter, impl, &x, &y, &z, &w); + iter.x = block * SWS_BLOCK_SIZE; + entry(&iter, impl, &x, &y, &z, &w); } - const int y_bump = exec->in_bump_y ? exec->in_bump_y[iter->y] : 0; + const int y_bump = exec->in_bump_y ? exec->in_bump_y[iter.y] : 0; for (int i = 0; i < 4; i++) { - iter->in[i] += exec->in_bump[i] + y_bump * exec->in_stride[i]; - iter->out[i] += exec->out_bump[i]; + iter.in[i] += exec->in_bump[i] + y_bump * exec->in_stride[i]; + iter.out[i] += exec->out_bump[i]; } } } -- 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]
