From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 282D249B41 for ; Thu, 1 Aug 2024 08:34:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BC7AC68D90D; Thu, 1 Aug 2024 11:34:51 +0300 (EEST) Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B499868D8B7 for ; Thu, 1 Aug 2024 11:34:44 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QfYcqO9KPxtokIs+d9J0jPrRKG3d/Sq5kxNafsnFljE=; b=IYEykHHT2nLJCGmrrGmX3JPpfs bBZtg9D7ebPiTw0445Yq7Z7PFArEf87eTsQgvDtHnMqrnjzyr8++iZnLwUACHCfP7nMFue5QEpjzS gVmWwzymUFRMuxo5tSyoU8rnsPQ0gUg2FwdM4V4SgddveRZILPlZw/W799ksd/TXWa+u6BgPHAydD QZiOrHCdwJSAisEcqSO/0+9T4NewkahilBE9wKDoF///0g8ETpOrTMeNc3vQrJNL2HFu8/tknD1Ur L8HN9M+OLdSpUmAtiq9ibCGecyterrkJ0B9AixBV7fr917WiqLhOGlwmTxqhp3GfCieC8Ce0bgrQ+ agDrliCg==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1sZRGm-00DbZh-CA for ffmpeg-devel@ffmpeg.org; Thu, 01 Aug 2024 08:34:43 +0000 Received: by rigel.ramacher.at (Postfix, from userid 1000) id 1EBE6C1A4D89; Thu, 1 Aug 2024 10:34:43 +0200 (CEST) Date: Thu, 1 Aug 2024 10:34:43 +0200 From: Sebastian Ramacher To: ffmpeg-devel@ffmpeg.org Message-ID: References: <20240731130115.63422-1-jamrial@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240731130115.63422-1-jamrial@gmail.com> X-Debian-User: sramacher Subject: Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vaapi: use the correct type for VASurfaceAttribExternalBuffers.buffers X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2024-07-31 10:01:15 -0300, James Almer wrote: > Should fix ticket #11115. > > Signed-off-by: James Almer > --- > Untested. > > 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 4cb25dd032..15fd84aa40 100644 > --- a/libavutil/hwcontext_vaapi.c > +++ b/libavutil/hwcontext_vaapi.c > @@ -1225,7 +1225,7 @@ static int vaapi_map_from_drm(AVHWFramesContext *src_fc, AVFrame *dst, > > if (!use_prime2 || vas != VA_STATUS_SUCCESS) { > int k; > - unsigned long buffer_handle; > + uintptr_t buffer_handle; > VASurfaceAttribExternalBuffers buffer_desc; > VASurfaceAttrib buffer_attrs[2] = { > { > -- > 2.45.2 Thanks, build tested ok. Cheers -- Sebastian Ramacher _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".