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 7BB864B519 for ; Sun, 7 Jul 2024 20:23:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7916168DB99; Sun, 7 Jul 2024 23:23:26 +0300 (EEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C684C68D87D for ; Sun, 7 Jul 2024 23:23:19 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 24D63C0003; Sun, 7 Jul 2024 20:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1720383799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DcYSa/pjEluKwtL6LouWevt1E3V8Ea5hcEj9MQAcItU=; b=JFntuAlhPvNbOd6i9HIfsTo60sfLREjRDIVQhSYIFWcBJYO1MQmE0OkYTAVKM3e96TBQsS uh4iYd/nKD4FuwscO2rANhUt8fWkMy/QtyvZhrWih7ZOgEGhp7ltPL/K8nUAywYNv8y8s1 JMtXzu+eXSJNH+1yRba+o7vnulKH8CTqMnB3ALzeLqDBMLM1it0FFr433gxgZhdV6Fetcm Kraj7tpHkujLoShueTN4YgMVvgu5eD1Rv4+iCnThRKW/JFwsgu03WdozF5bjKCs5N/SyHA 4RH4rPPkM1IPYpCeX2L6/4LH6Eo1rSAFpiO2VE+kwiJ84Pb+8E1JchlqbxXf5w== Date: Sun, 7 Jul 2024 22:23:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240707202317.GQ4991@pb2> References: <20240609154746.4173264-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20240609154746.4173264-1-michael@niedermayer.cc> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/6] avutil/hwcontext_d3d11va: correct sizeof AVD3D11FrameDescriptor 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 Cc: Steve Lhomme Content-Type: multipart/mixed; boundary="===============0000642409503586599==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0000642409503586599== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LDTYQ/yPU1fZltPS" Content-Disposition: inline --LDTYQ/yPU1fZltPS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Steve you are listed as maintainer for d3d11va, there are some trivial patches in this patchset that i cannot easily test can you either apply/approve/reject/test/review them thx On Sun, Jun 09, 2024 at 05:47:41PM +0200, Michael Niedermayer wrote: > Fixes: CID1591909 Wrong sizeof argument >=20 > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > libavutil/hwcontext_d3d11va.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c > index 8963c9fc85b..c04ab01a282 100644 > --- a/libavutil/hwcontext_d3d11va.c > +++ b/libavutil/hwcontext_d3d11va.c > @@ -202,7 +202,7 @@ static AVBufferRef *wrap_texture_buf(AVHWFramesContex= t *ctx, ID3D11Texture2D *te > desc->texture =3D tex; > desc->index =3D index; > =20 > - buf =3D av_buffer_create((uint8_t *)desc, sizeof(desc), free_texture= , tex, 0); > + buf =3D av_buffer_create((uint8_t *)desc, sizeof(*desc), free_textur= e, tex, 0); > if (!buf) { > ID3D11Texture2D_Release(tex); > av_free(desc); > --=20 > 2.45.2 >=20 > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel >=20 > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >=20 --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If the United States is serious about tackling the national security threat= s=20 related to an insecure 5G network, it needs to rethink the extent to which = it values corporate profits and government espionage over security.-Bruce Schn= eier --LDTYQ/yPU1fZltPS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZor5NQAKCRBhHseHBAsP qwGvAJ40EVMVMekjYr6n5bES/Xmx1vxCNACfeja98hFihBuk5TjNUabSH2C3uVk= =J7i7 -----END PGP SIGNATURE----- --LDTYQ/yPU1fZltPS-- --===============0000642409503586599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============0000642409503586599==--