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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7c5d45b843bb1c9e0a78c30824473adae1a5495a
Author:     Niklas Haas <[email protected]>
AuthorDate: Thu May 14 14:57:16 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Jun 11 16:27:47 2026 +0000

    swscale/ops_dispatch: reword misleading error
    
    The block size is given in units of pixels, so this message as written
    does not even make sense.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_dispatch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c
index 069474c056..a612fd53cd 100644
--- a/libswscale/ops_dispatch.c
+++ b/libswscale/ops_dispatch.c
@@ -547,7 +547,7 @@ static int compile(SwsGraph *graph, const SwsOpBackend 
*backend,
     const int64_t block_bits_in  = (int64_t) comp->block_size * 
p->pixel_bits_in;
     const int64_t block_bits_out = (int64_t) comp->block_size * 
p->pixel_bits_out;
     if (block_bits_in & 0x7 || block_bits_out & 0x7) {
-        av_log(ctx, AV_LOG_ERROR, "Block size must be a multiple of the pixel 
size.\n");
+        av_log(ctx, AV_LOG_ERROR, "Block size must be byte-aligned.\n");
         ret = AVERROR(EINVAL);
         goto fail;
     }

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

Reply via email to