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 6DF134B795 for ; Thu, 13 Jun 2024 06:47:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1A01568D6CB; Thu, 13 Jun 2024 09:47:53 +0300 (EEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 296A768D6CB for ; Thu, 13 Jun 2024 09:47:46 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7A55260002 for ; Thu, 13 Jun 2024 06:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1718261265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M3Pf/9DEug08UKxOrI/gTFP7MUsF6zVKU6iLIMabs04=; b=AvFNonztYtmVb1/ezEyP7jGN8k6LdJuZ4Mzybb7+3UWYLGLp5VSdWopX0ukBSYeT/NKQtV 31ZGVAYMRGScB26TzVZHdPZvbCgbzNuBwwFOD7mEngQf5+rxyYQYjUCcn5bWVIdkxHXtEh 8xL2W8BGsYxdgZoJTQxU2+y1rzzKaeBUEfO+8YMf3YsI6YOl7QxLr8G/ZBvOJAf09FU7Dp JmO/Yu552cb0idYPij/CiHrOZFbOBS+G9pG2ZTWPTgdNO1GYqSIVg3GSVVJXquJolcbuk2 Iwxw63P9mNMNFEq5/4trF91vXaxNuRCoWNaYGTdxXVN5C3G+ShM54EFgka4Ujg== Date: Thu, 13 Jun 2024 08:47:44 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240613064744.GY2821752@pb2> References: MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mjpegdec: Fix av_frame_unref(NULL) 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="===============1187819795016790981==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1187819795016790981== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vwX4JyVVxl4kNjur" Content-Disposition: inline --vwX4JyVVxl4kNjur Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 13, 2024 at 04:02:52AM +0200, Andreas Rheinhardt wrote: > The smv_frame is only allocated for the SMV decoder, yet > it is unreferenced in the other decoders' flush functions, too. > av_frame_unref(NULL) is not documented to be allowed, it just > happens to work. Avoid it by using a dedicated flush function > for SMV. why not docuement av_frame_unref(NULL) ? seems simpler if thats the only reason thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have often repented speaking, but never of holding my tongue. -- Xenocrates --vwX4JyVVxl4kNjur Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZmqWCQAKCRBhHseHBAsP q5tFAJ4sYoN4VjpEwCwuO50LsJrv6Bt1VQCghJSDT7L7d3EUVD1grosbk3N6Z1k= =ycGt -----END PGP SIGNATURE----- --vwX4JyVVxl4kNjur-- --===============1187819795016790981== 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". --===============1187819795016790981==--