summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2022-10-23 20:51:42 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2022-10-23 20:51:42 +0200
commit882a17068fd8e62c7d38c14e6fb160d7c9fc446a (patch)
tree21f568533b58da99a08eca5ff42aa034523ebb29 /libavutil
parentfc410ce572bdbb8553acfd1d72cbcfeb4e63c09c (diff)
lavu/hwcontext_vaapi: Fix type specifier for uintptr_t
Fixes a format specifier warning on x86_32 Linux. Fixes part of ticket #9986.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext_vaapi.c2
1 files changed, 1 insertions, 1 deletions
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;