Index: ffmpeg-4.4.4/libavutil/hwcontext_vaapi.c =================================================================== --- ffmpeg-4.4.4.orig/libavutil/hwcontext_vaapi.c +++ ffmpeg-4.4.4/libavutil/hwcontext_vaapi.c @@ -1032,7 +1032,7 @@ static int vaapi_map_from_drm(AVHWFrames uint32_t va_fourcc; int err, i, j, k; - unsigned long buffer_handle; + uintptr_t buffer_handle; VASurfaceAttribExternalBuffers buffer_desc; VASurfaceAttrib attrs[2] = { { Index: ffmpeg-4.4.4/libavutil/hwcontext_vulkan.c =================================================================== --- ffmpeg-4.4.4.orig/libavutil/hwcontext_vulkan.c +++ ffmpeg-4.4.4/libavutil/hwcontext_vulkan.c @@ -862,7 +862,7 @@ static void free_exec_ctx(AVHWFramesCont av_freep(&cmd->queues); av_freep(&cmd->bufs); - cmd->pool = NULL; + cmd->pool = VK_NULL_HANDLE; } static VkCommandBuffer get_buf_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)