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 962C54101E for ; Sat, 12 Feb 2022 12:08:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 312AC68AFD2; Sat, 12 Feb 2022 14:08:12 +0200 (EET) 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 02C5668AFD2 for ; Sat, 12 Feb 2022 14:08:04 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id BABC7C000B for ; Sat, 12 Feb 2022 12:08:03 +0000 (UTC) Date: Sat, 12 Feb 2022 13:08:02 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220212120802.GB2829255@pb2> References: <20220212001301.4090-1-jamrial@gmail.com> MIME-Version: 1.0 In-Reply-To: <20220212001301.4090-1-jamrial@gmail.com> Subject: Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame 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: multipart/mixed; boundary="===============7051602046548073319==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7051602046548073319== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jImN5OTScRZmc0/R" Content-Disposition: inline --jImN5OTScRZmc0/R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 11, 2022 at 09:12:58PM -0300, James Almer wrote: > This is unfortunately needed to remove (or reduce the awfulness) of certa= in > modules violating the AVFrame API and using sizeof(AVFrame). > With this, the sizeof(AVFrame) value of the libavutil loaded at runtime c= an be > used instead of the compile time value of whatever library included frame= =2Eh >=20 > Signed-off-by: James Almer > --- > This is sucks, but at least less so than the current situation. >=20 > I don't see wrapped_avframe going away anytime soon, so something must be= done, > and last time i tried to change how the packets are generated my approach= was > shut down, so here's another attempt. iam probably missing something but if the goal is to wrap AVFrame in some other structure as a array or buffer without the sizeof(AVFrame) cant the wraping/unwraping code be put in libavutil ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin --jImN5OTScRZmc0/R Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYgejHwAKCRBhHseHBAsP qyerAKCP918Vdbwg/IkOBpWnd5E1NR7aRgCfePHEV+FDycURG5Pp2mtME/emtQE= =mnjP -----END PGP SIGNATURE----- --jImN5OTScRZmc0/R-- --===============7051602046548073319== 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". --===============7051602046548073319==--