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 80B0C48D60 for ; Wed, 24 Apr 2024 21:06:12 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7D07668D370; Thu, 25 Apr 2024 00:06:10 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E911768CE05 for ; Thu, 25 Apr 2024 00:06:03 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5088C1C0004 for ; Wed, 24 Apr 2024 21:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1713992763; 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=XAKtgFDWfD/U5Q5H2rPkar7eZQZGadc+7Y/Yvg6x7Ho=; b=mwFAkIWG22MM258ljLQjN0OQJITzaB/n+Slug8ONAjPk7w/TKVLOssYpH82UVEbSIyqOoe 0hZWrQfpQM2pOtEq6+VPcmQa1j/UHCtNfOdnKtZtyOYPFEslE21i79DxWE/fLeBvFfeHK1 uf0WLkCagtEI9pu6ZGZGp+6Y9n+njIk81dxD6hQaqlEl0quVPsaDdcseOZEric5kMj7w4e aSdG3ScMjtB09zQoEAjWihNhimccslvaS9fMfkWILU2VkabDD5lJidZzBqkn9EfP8sYw0p +uFcSc0+l6fZ7gH428k9bCUq7ptmPtFBcytx5QazKbVVucIKOqsFPJIt0a8jTg== Date: Wed, 24 Apr 2024 23:06:02 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240424210602.GT6420@pb2> References: <20240424014522.4015429-1-michael@niedermayer.cc> <20240424014522.4015429-3-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 3/5] doc/examples/vaapi_transcode: Simplify loop 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="===============6800269681834238133==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6800269681834238133== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HMFE0A5+/dq5P37X" Content-Disposition: inline --HMFE0A5+/dq5P37X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2024 at 02:39:45PM +0800, mypopy@gmail.com wrote: > On Wed, Apr 24, 2024 at 9:45=E2=80=AFAM Michael Niedermayer > wrote: > > > > Fixes: CID1428858(1/2) Logically dead code > > > > Sponsored-by: Sovereign Tech Fund > > Signed-off-by: Michael Niedermayer > > --- > > doc/examples/vaapi_transcode.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > diff --git a/doc/examples/vaapi_transcode.c b/doc/examples/vaapi_transc= ode.c > > index 8367cb30404..e1b7a438836 100644 > > --- a/doc/examples/vaapi_transcode.c > > +++ b/doc/examples/vaapi_transcode.c > > @@ -215,10 +215,8 @@ static int dec_enc(AVPacket *pkt, const AVCodec *e= nc_codec) > > > > fail: > > av_frame_free(&frame); > > - if (ret < 0) > > - return ret; > > } > > - return 0; > > + return ret; > > } > > > it's ok, thx will apply thx [...]ssssssssssss --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have often repented speaking, but never of holding my tongue. -- Xenocrates --HMFE0A5+/dq5P37X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZil0OgAKCRBhHseHBAsP q8kJAJ0fv8hLOO/JHMT8f7lIBzeMtvA57ACgh3gTctx1ML3AAS+GitTTCxmh4Ls= =y3z8 -----END PGP SIGNATURE----- --HMFE0A5+/dq5P37X-- --===============6800269681834238133== 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". --===============6800269681834238133==--