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 C6F894888B for ; Sun, 19 May 2024 19:43:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 28CA468D01B; Sun, 19 May 2024 22:43:08 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B453F68C1B3 for ; Sun, 19 May 2024 22:43:01 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 124551BF204 for ; Sun, 19 May 2024 19:43:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1716147781; 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=aPOVj7iR0iBEGYUm7BBTSZS9IQvblzv/rG3RpZ9BvwI=; b=KrVQuFNIprjxjn43NfGOQqStI/LFhW6cJ0ndoK/Gi04Wlp2liwu+mITW+RrOXBnLx8sDfo xaw6E++04rq7Zm4BVYexLEpZuPO/8fpSceAjVyC9Y5SzevNTrogL0dixCuwyW18l7pJ9nO M2dJXsbA7ftmBrozqY3l+B+qiaHuPqflAkXhynANUte9aOElX2dgG+QTI1CUwAuT9WIdg5 mNFRscEgZPiHN1BjNb8pLirXvA868ACqLq3EOTkgnujjQSID3mZpqut9S+wvxR6gkPR+24 hCd7+Ui3UxSQ9c2SiZcFCV5bu4COW43lXavM6liekg0fu0Ugx3OslCXhsvVMjg== Date: Sun, 19 May 2024 21:43:00 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240519194300.GK2821752@pb2> References: <20240518035743.766552-1-michael@niedermayer.cc> <20240518035743.766552-8-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 8/9] avcodec/vp8: Forward return of ff_vpx_init_range_decoder() 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="===============0055889668858237194==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0055889668858237194== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Z9t8O/5YJLB6LEUl" Content-Disposition: inline --Z9t8O/5YJLB6LEUl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 18, 2024 at 11:07:15AM -0400, Ronald S. Bultje wrote: > Hi, >=20 > On Fri, May 17, 2024 at 11:59=E2=80=AFPM Michael Niedermayer > wrote: >=20 > > Fixes: CID1507483 Unchecked return value > > > > Sponsored-by: Sovereign Tech Fund > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/vp8.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c > > index 19f32b34006..8e91613068a 100644 > > --- a/libavcodec/vp8.c > > +++ b/libavcodec/vp8.c > > @@ -341,9 +341,8 @@ static int setup_partitions(VP8Context *s, const > > uint8_t *buf, int buf_size) > > } > > > > s->coeff_partition_size[i] =3D buf_size; > > - ff_vpx_init_range_decoder(&s->coeff_partition[i], buf, buf_size); > > > > - return 0; > > + return ff_vpx_init_range_decoder(&s->coeff_partition[i], buf, > > buf_size); > > } > > > > static void vp7_get_quants(VP8Context *s) > > -- > > 2.45.1 > > >=20 > OK. will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is a danger to trust the dream we wish for rather than the science we have, -- Dr. Kenneth Brown --Z9t8O/5YJLB6LEUl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZkpWRAAKCRBhHseHBAsP q4ltAJ9zFYkOs+Dymi6T2g6nr/asVv/LQgCfaby4/V2oV3XBFv9psMAcd8KWVlE= =vluN -----END PGP SIGNATURE----- --Z9t8O/5YJLB6LEUl-- --===============0055889668858237194== 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". --===============0055889668858237194==--