This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 095e7ee43e15663e21453fec003a6c5889dfd3c8 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Sep 13 00:33:26 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Sun Sep 20 13:09:12 2026 +0000 cosmetics: move copy_lines() above op_pass_setup() --- libswscale/ops_dispatch.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c index f604199b1e..f15287537c 100644 --- a/libswscale/ops_dispatch.c +++ b/libswscale/ops_dispatch.c @@ -204,6 +204,17 @@ static size_t safe_blocks_offset(size_t num_blocks, unsigned block_size, return safe_blocks; } +static void copy_lines(uint8_t *dst, const ptrdiff_t dst_stride, + const uint8_t *src, const ptrdiff_t src_stride, + const int h, const size_t bytes) +{ + for (int y = 0; y < h; y++) { + memcpy(dst, src, bytes); + dst += dst_stride; + src += src_stride; + } +} + static int op_pass_setup(const SwsFrame *out, const SwsFrame *in, const SwsPass *pass) { @@ -358,17 +369,6 @@ static int op_pass_setup(const SwsFrame *out, const SwsFrame *in, return 0; } -static void copy_lines(uint8_t *dst, const ptrdiff_t dst_stride, - const uint8_t *src, const ptrdiff_t src_stride, - const int h, const size_t bytes) -{ - for (int y = 0; y < h; y++) { - memcpy(dst, src, bytes); - dst += dst_stride; - src += src_stride; - } -} - static void op_pass_run(const SwsFrame *out, const SwsFrame *in, const int y, const int h, const SwsPass *pass) { -- 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]
