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 B461C4ACF5 for ; Tue, 18 Jun 2024 21:14:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8A2C068D678; Wed, 19 Jun 2024 00:14:07 +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 0677D68D377 for ; Wed, 19 Jun 2024 00:13:59 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 213BA60003 for ; Tue, 18 Jun 2024 21:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1718745239; 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=YQxQ2QnzgvSr7f5c8EmSkVu8sSe9IhJKspu2D5q5f+8=; b=O3WzUBtbWiwIubg1FbIPDdb7sBgsygPEiwBlPfz2FyJlSV9lOHBwbHnSRzjI+M/ybg49uW CTDj8Wt9TKMgUv792RZuQ7hV0SkiIwisnzHX0w3vxTnxgDCrLe+dqf5PzG3srcrpRG6KDm ozjc7YYnXz/XRR7YWswM7/GZZWCjX1bdywEabBv5zXg956URPye7CI+2mIwqAY0Kalhjrk 4b85hCgiD/yAlLKo7lyb4ueBF3/22X0DLpnqP+PM4ekH8yTLWAAj+mgIFWwVHZeRGbWXOT hEWww9Wz3rXFMfLdGwCvFKloExpwljW8k/QQEnuMJmIGfh48eql6CKoFs2Lexg== Date: Tue, 18 Jun 2024 23:13:58 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240618211358.GH4991@pb2> References: <20240618192034.5027-1-jamrial@gmail.com> <20240618192034.5027-3-jamrial@gmail.com> MIME-Version: 1.0 In-Reply-To: <20240618192034.5027-3-jamrial@gmail.com> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 3/3] avutil/stereo3d: set a sane default value for AVRational fields 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="===============6469507077393127331==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6469507077393127331== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0XhtP95kHFp3KGBe" Content-Disposition: inline --0XhtP95kHFp3KGBe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 18, 2024 at 04:20:34PM -0300, James Almer wrote: > Prevent potential divisions by 0 when using them immediately after alloca= tion. >=20 > Signed-off-by: James Almer > --- > libavutil/stereo3d.c | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) i must have applied the wrong patches locally but this fails to build CC libavutil/stereo3d.o libavutil/stereo3d.c: In function =E2=80=98get_defaults=E2=80=99: libavutil/stereo3d.c:31:47: error: incompatible types when assigning to typ= e =E2=80=98int32_t=E2=80=99 {aka =E2=80=98int=E2=80=99} from type =E2=80=98= AVRational=E2=80=99 {aka =E2=80=98struct AVRational=E2=80=99} 31 | stereo->horizontal_disparity_adjustment =3D (AVRational) { 0, 1= }; | ^ make: *** [ffbuild/common.mak:81: libavutil/stereo3d.o] Error 1 thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle --0XhtP95kHFp3KGBe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZnH4kwAKCRBhHseHBAsP qx7QAJ0RZqvTsrhYrDbvjL49y/VTyz8CSwCfbzCrQ5IVSykp1hrmAU7XXysr+sc= =/12J -----END PGP SIGNATURE----- --0XhtP95kHFp3KGBe-- --===============6469507077393127331== 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". --===============6469507077393127331==--