This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 4792440ab8 swscale/unscaled: fix planarCopyWrapper for float formats 
with same endianness
4792440ab8 is described below

commit 4792440ab8e7f1fb456b8dcbfb37c7704a452b15
Author:     Ramiro Polla <[email protected]>
AuthorDate: Fri Mar 6 22:04:49 2026 +0100
Commit:     Ramiro Polla <[email protected]>
CommitDate: Mon Mar 9 08:22:58 2026 +0000

    swscale/unscaled: fix planarCopyWrapper for float formats with same 
endianness
---
 libswscale/swscale_unscaled.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index f612f88c4d..c80731cee4 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -2355,6 +2355,8 @@ static int planarCopyWrapper(SwsInternal *c, const 
uint8_t *const src[],
             } else {
                 if (is16BPS(c->opts.src_format) && is16BPS(c->opts.dst_format))
                     length *= 2;
+                else if (isFloat(c->opts.src_format) && 
isFloat(c->opts.dst_format))
+                    length *= 4;
                 else if (desc_src->comp[0].depth == 1)
                     length >>= 3; // monowhite/black
                 for (i = 0; i < height; i++) {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to