[FFmpeg-cvslog] avcodec/vulkan_dec: use PRId64 specifier for an int64_t

James Almer git at videolan.org
Mon May 29 05:20:10 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun May 28 23:18:40 2023 -0300| [fe103ee61faa91a5d623f0f5024d56b55933df52] | committer: James Almer

avcodec/vulkan_dec: use PRId64 specifier for an int64_t

Fixes warnings on x86-32 and Windows.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe103ee61faa91a5d623f0f5024d56b55933df52
---

 libavcodec/vulkan_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c
index 6138106fef..4ec6f16612 100644
--- a/libavcodec/vulkan_decode.c
+++ b/libavcodec/vulkan_decode.c
@@ -342,7 +342,7 @@ int ff_vk_decode_frame(AVCodecContext *avctx,
 
         if (ret == VK_SUCCESS)
             av_log(avctx, prev_sub_res < 0 ? AV_LOG_ERROR : AV_LOG_DEBUG,
-                   "Result of previous frame decoding: %li\n", prev_sub_res);
+                   "Result of previous frame decoding: %"PRId64"\n", prev_sub_res);
     }
 
     sd_buf = (FFVkVideoBuffer *)vp->slices_buf->data;



More information about the ffmpeg-cvslog mailing list