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 98CB34F90B for ; Mon, 23 Jun 2025 16:40:49 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 33DE868CAC8; Mon, 23 Jun 2025 19:40:45 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id C6F6E687B24 for ; Mon, 23 Jun 2025 19:40:38 +0300 (EEST) Received: from 97128e981a0fdc76c1c3e90f890ef837 ([1.136.108.120]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 55NGeTuN022302 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 23 Jun 2025 16:40:35 GMT Date: Tue, 24 Jun 2025 02:40:28 +1000 From: Peter Ross To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avcodec/g728dec: Remove AVCodec.sample_fmts 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="===============1569041657489234602==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1569041657489234602== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8i5fSf+0KH51xlk6" Content-Disposition: inline --8i5fSf+0KH51xlk6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2025 at 12:43:54PM +0200, Andreas Rheinhardt wrote: > Patch attached. >=20 > - Andreas > From e2b8892a583a09ca4aa607af8813b4947c2e6fc1 Mon Sep 17 00:00:00 2001 > From: Andreas Rheinhardt > Date: Mon, 23 Jun 2025 12:41:36 +0200 > Subject: [PATCH] avcodec/g728dec: Remove AVCodec.sample_fmts >=20 > It is unnecessary for decoders (they just set > AVCodecContext.sample_fmt). This also fixes a warning > with Clang (because sample_fmts is set directly, > not via CODEC_SAMPLEFMTS). ok > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/g728dec.c | 2 -- > 1 file changed, 2 deletions(-) >=20 > diff --git a/libavcodec/g728dec.c b/libavcodec/g728dec.c > index fdaf0a853e..edf45c589b 100644 > --- a/libavcodec/g728dec.c > +++ b/libavcodec/g728dec.c > @@ -215,6 +215,4 @@ const FFCodec ff_g728_decoder =3D { > FF_CODEC_DECODE_CB(g728_decode_frame), > .p.capabilities =3D AV_CODEC_CAP_CHANNEL_CONF | > AV_CODEC_CAP_DR1, > - .p.sample_fmts =3D (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FL= T, > - AV_SAMPLE_FMT_NONE= }, > }; please apply -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --8i5fSf+0KH51xlk6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaFmDeAAKCRBnYHnFrEDd a0l/AKC1BjpkCNie9PJXxkwnde8PDKAlgwCfeEqnwmIcaSxovDy0F02TOl4VCMM= =Tn1n -----END PGP SIGNATURE----- --8i5fSf+0KH51xlk6-- --===============1569041657489234602== 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". --===============1569041657489234602==--