PR #23488 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23488 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23488.patch
# Summary of changes 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. <!-- If this PR requires new FATE test samples, attach them to the PR and list their target paths below (relative to the fate-suite root). Attached filenames must match the sample's filename: ```fate-samples # e.g. vorbis/new-sample.ogg ``` --> >From e33524786286acb03a4b38577e3213786c2b6202 Mon Sep 17 00:00:00 2001 From: Zhao Zhili <[email protected]> Date: Mon, 15 Jun 2026 22:31:03 +0800 Subject: [PATCH] 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; } -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
