From 1f7268a44d3334d4605d4bbb865e1ecabef9993a Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 16 Oct 2024 10:15:43 -0300 Subject: [PATCH] avcodec/vulkan_encode_h265: use the proper printf specifier for size_t Signed-off-by: James Almer --- libavcodec/vulkan_encode_h265.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vulkan_encode_h265.c b/libavcodec/vulkan_encode_h265.c index 6aadbc93fc..cd50f2f756 100644 --- a/libavcodec/vulkan_encode_h265.c +++ b/libavcodec/vulkan_encode_h265.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/internal.h" #include "libavutil/opt.h" #include "libavutil/mem.h" @@ -1313,7 +1314,7 @@ static int init_base_units(AVCodecContext *avctx) if (!data) return AVERROR(ENOMEM); } else { - av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.265 units = %lu\n", data_size); + av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.265 units = %"SIZE_SPECIFIER"\n", data_size); return err; }