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

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit a29aefa6b9504557cb5b882090aaf85972624aab
Author:     Zhao Zhili <[email protected]>
AuthorDate: Mon Jun 15 22:31:03 2026 +0800
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Nov 28 09:24:22 2026 +0100

    avcodec/ffv1enc_vulkan: fix format specifier for VkDeviceSize
    
    Fix build warning on macOS:
    > format specifies type 'size_t' (aka 'unsigned long') but the
    > argument has type 'VkDeviceSize' (aka 'unsigned long long')
    
    VkDeviceSize is typedef as uint64_t.
    
    (cherry picked from commit 97ba3c4a9a02083e26f8b0f639987292bc61bffc)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/ffv1enc_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
index 0e891f0888..c89c3a16ef 100644
--- a/libavcodec/ffv1enc_vulkan.c
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -1105,7 +1105,7 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext 
*avctx)
     maxsize = ff_ffv1_encode_buffer_size(avctx);
     if (maxsize > fv->s.props_11.maxMemoryAllocationSize) {
         av_log(avctx, AV_LOG_WARNING, "Encoding buffer size (%zu) larger "
-                                      "than maximum device allocation (%zu), 
clipping\n",
+                                      "than maximum device allocation 
(%"PRIu64"), clipping\n",
                maxsize, fv->s.props_11.maxMemoryAllocationSize);
         maxsize = fv->s.props_11.maxMemoryAllocationSize;
     }

-- 
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]

Reply via email to