diff options
author | Jun Zhao <mypopydev@gmail.com> | 2023-11-12 18:25:29 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2023-11-21 08:02:43 +0800 |
commit | c961ac4b0ca27d451c430553793b3fff88fc78e5 (patch) | |
tree | 2472d5c2505b3ee56b047f9704afacf7228a4a0f | |
parent | ab3bd5ead047db1649ddc75ae8f08681c65d8eee (diff) | |
download | ffmpeg-c961ac4b0ca27d451c430553793b3fff88fc78e5.tar.gz |
vulkan_decode: fix the print format of VkDeviceSize
VkDeviceSize represents device memory size and offset
values as uint64_t in Spec.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
-rw-r--r-- | libavcodec/vulkan_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vulkan_video.c b/libavcodec/vulkan_video.c index 236aa124bb..5fa8292b28 100644 --- a/libavcodec/vulkan_video.c +++ b/libavcodec/vulkan_video.c @@ -384,7 +384,7 @@ av_cold int ff_vk_video_common_init(void *log, FFVulkanContext *s, .memorySize = mem[i].memoryRequirements.size, }; - av_log(log, AV_LOG_VERBOSE, "Allocating %"SIZE_SPECIFIER" bytes in bind index %i for video session\n", + av_log(log, AV_LOG_VERBOSE, "Allocating %"PRIu64" bytes in bind index %i for video session\n", bind_mem[i].memorySize, bind_mem[i].memoryBindIndex); } |