lavu/hwcontext_vaapi: Fix type specifier for uintptr_t

Fixes a format specifier warning on x86_32 Linux.
Fixes part of ticket #9986.
pull/388/head
Carl Eugen Hoyos 2 years ago
parent fc410ce572
commit 882a17068f
  1. 2
      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;

Loading…
Cancel
Save