[FFmpeg-cvslog] lavu/hwcontext_vaapi: Fix type specifier for uintptr_t
Carl Eugen Hoyos
git at videolan.org
Sun Oct 23 19:55:10 EEST 2022
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Oct 23 20:51:42 2022 +0200| [882a17068fd8e62c7d38c14e6fb160d7c9fc446a] | committer: Carl Eugen Hoyos
lavu/hwcontext_vaapi: Fix type specifier for uintptr_t
Fixes a format specifier warning on x86_32 Linux.
Fixes part of ticket #9986.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=882a17068fd8e62c7d38c14e6fb160d7c9fc446a
---
libavutil/hwcontext_vaapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index 9ba5225ad2..4bcde74f62 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -1511,7 +1511,7 @@ static int vaapi_map_to_drm_abh(AVHWFramesContext *hwfc, AVFrame *dst,
goto fail_derived;
}
- av_log(hwfc, AV_LOG_DEBUG, "DRM PRIME fd is %ld.\n",
+ av_log(hwfc, AV_LOG_DEBUG, "DRM PRIME fd is %"PRIdPTR".\n",
mapping->buffer_info.handle);
mapping->drm_desc.nb_objects = 1;
More information about the ffmpeg-cvslog
mailing list