lavu/hwcontext_vaapi: Fix type specifier for uintptr_t

Fixes a format specifier warning on x86_32 Linux.
Fixes part of ticket #9986.
This commit is contained in:
Carl Eugen Hoyos 2022-10-23 20:51:42 +02:00
parent fc410ce572
commit 882a17068f
1 changed files with 1 additions and 1 deletions

View File

@ -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;