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 8EAFB45B9C for ; Fri, 24 Mar 2023 17:23:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AB12F68C881; Fri, 24 Mar 2023 19:23:23 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3547C68C7F5 for ; Fri, 24 Mar 2023 19:23:15 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 83E49240009 for ; Fri, 24 Mar 2023 17:23:14 +0000 (UTC) Date: Fri, 24 Mar 2023 18:23:12 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230324172312.GB4538@pb2> References: <20230320233408.134255-1-jeebjp@gmail.com> <20230320233408.134255-3-jeebjp@gmail.com> MIME-Version: 1.0 In-Reply-To: <20230320233408.134255-3-jeebjp@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH v0 02/14] avcodec: move AVCodecInternal allocation to avcodec_alloc_context3 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="===============0171598111988155213==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0171598111988155213== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 21, 2023 at 01:33:56AM +0200, Jan Ekstr=F6m wrote: > This allows for private values to be stored before the {de,en}coder > has been opened and initialized. >=20 > Add a new unsigned boolean entry to specifically note that a > context has been opened instead of just depending on the internal > pointer. > --- > libavcodec/avcodec.c | 18 +++++++++++------- > libavcodec/frame_thread_encoder.c | 7 ++++--- > libavcodec/internal.h | 5 +++++ > libavcodec/options.c | 20 +++++++++++++++++++- > 4 files changed, 39 insertions(+), 11 deletions(-) this causes memory corruption with mjpeg =2E/ffmpeg_g -i lena.pnm -qscale 4 -intra_matrix 10,10,10,10,10,10,10,10,10= ,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10= ,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10= ,10,10,10,10,10 -chroma_intra_matrix 400,400,400,400,400,400,400,400,400,40= 0,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,4= 00,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,= 400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400,400 -bitexa= ct file-custommatrix10,400.jpg i see video:19kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxi= ng overhead: unknown corrupted size vs. prev_size Aborted (core dumped) i can provide more details if it isnt reproduceable thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you think the mosad wants you dead since a long time then you are either wrong or dead since a long time. --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZB3cfAAKCRBhHseHBAsP qxPYAJsGfB/DfRgMa7A7qjU5vyF1R9mhvACfX6/GNj17hxrxFYMjJyf55tLZeJc= =CIqC -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- --===============0171598111988155213== 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". --===============0171598111988155213==--