From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 3BC2E4DDC4 for ; Sat, 5 Jul 2025 11:24:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 4486E69006C; Sat, 5 Jul 2025 14:24:33 +0300 (EEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 834AB68FEF9 for ; Sat, 5 Jul 2025 14:24:31 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8EF3643196 for ; Sat, 5 Jul 2025 11:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751714670; 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=LgQKU/6IiRLVRvy03gca3Z81yLrYc2hOtamtPieC0nk=; b=aY/PKNdj3A0mHI9f3a7naTNDS43c5onUMLi/eapWvFEfD4B6myKJsYt8iK5YwaWAhUjy1x USATQevE/yXw5bP+K2esyphiKuK9oqSrQVq5mPRkeEQJQ9BqvMudZknW3FYAm1dfgYkZKG hmk8RbHBnhkZKgE9g6IAL7+xr30rNm6tqmePewXRA7pkWQAOZEQyV61e88h3eF5CDNexdK aN87GeuIE0RCyFAICnxDGdy57qv2U8cBkWbfDSJQIpdIMXAixWAOVDbaHwAfj3yBAnil6L ECNnj7QBPw0BFAWfVZtK1/CsF1aRBnzERMNM8nmI04ZW+mRokS3LJ1f1A41x9A== Date: Sat, 5 Jul 2025 13:24:29 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250705112429.GX29660@pb2> References: <20250630183609.817-1-kasper93@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250630183609.817-1-kasper93@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvheeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepleekgefgffeiudefjeeuffejudehtddtudeltdehveevvedtieeulefhtdeutdeknecukfhppeeguddrieeirdeiiedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeiiedrvddvjedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] fftools/cmdutils: don't try to load arguments from file if not needed 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="===============7549235475755890227==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7549235475755890227== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w6SCTiAmzj+KiTJO" Content-Disposition: inline --w6SCTiAmzj+KiTJO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 30, 2025 at 08:36:09PM +0200, Kacper Michaj=C5=82ow wrote: > CLI option parser checks if argument exists when needed, but in this > case only OPT_TYPE_BOOL where checked, so OPT_TYPE_FUNC without argument > where trying to load a file from `arg` which is NULL in this case. >=20 > Fixes crash on `ffmpeg -/version` >=20 > Fixes: 6d17991b7e1bf1a5d104c8a6261709f7e6640d97 > Signed-off-by: Kacper Michaj=C5=82ow > --- > fftools/cmdutils.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws. -- Plato --w6SCTiAmzj+KiTJO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGkLbQAKCRBhHseHBAsP q6uDAJ4+/mxsbMN5E16Lzmr4Cnr5caNPEgCeLw1SgrJDeGUARsTaeMUHnCnB/XI= =TGhW -----END PGP SIGNATURE----- --w6SCTiAmzj+KiTJO-- --===============7549235475755890227== 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". --===============7549235475755890227==--