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 97ba3c4a9a avcodec/ffv1enc_vulkan: fix format specifier for 
VkDeviceSize
97ba3c4a9a is described below

commit 97ba3c4a9a02083e26f8b0f639987292bc61bffc
Author:     Zhao Zhili <[email protected]>
AuthorDate: Mon Jun 15 22:31:03 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Sun Jun 28 18:27:44 2026 +0000

    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.
---
 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 83950cc504..2c83e6869e 100644
--- a/libavcodec/ffv1enc_vulkan.c
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -1387,7 +1387,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;
     }

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

Reply via email to