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 82C514F589 for ; Tue, 17 Jun 2025 23:15:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 084D868D990; Wed, 18 Jun 2025 02:14:59 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 5432368D964 for ; Wed, 18 Jun 2025 02:14:52 +0300 (EEST) Received: from b71324470ac6025599d76b1e21e5a773 ([1.145.171.204]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 55HNEfYs001594 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 17 Jun 2025 23:14:46 GMT Date: Wed, 18 Jun 2025 09:14:40 +1000 From: Peter Ross To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20250617203216.4117940-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20250617203216.4117940-1-michael@niedermayer.cc> Subject: Re: [FFmpeg-devel] [PATCH] avcodec/osq: Request a coding mode 2 sample 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="===============0643981391012949876==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0643981391012949876== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tJD2pvTpVrVWUb/g" Content-Disposition: inline --tJD2pvTpVrVWUb/g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 17, 2025 at 10:32:16PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/osq.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/libavcodec/osq.c b/libavcodec/osq.c > index 025be667a35..0de9af5f623 100644 > --- a/libavcodec/osq.c > +++ b/libavcodec/osq.c > @@ -212,6 +212,8 @@ static int osq_channel_parameters(AVCodecContext *avc= tx, int ch) > cb->residue_parameter =3D get_urice(gb, 4); > if (!cb->residue_parameter || cb->residue_parameter >=3D 31) > return AVERROR_INVALIDDATA; > + if (cb->coding_mode =3D=3D 2) > + avpriv_request_sample(avctx, "coding mode 2\n"); nit: there is no need for newline character with avpriv_request_sample() -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --tJD2pvTpVrVWUb/g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaFH23AAKCRBnYHnFrEDd a+rjAJ425Mg/qeaO3980jDXn91lUlApQQwCgmAFGS8iv2vMymIcx4IKkEWqB2zU= =QG8x -----END PGP SIGNATURE----- --tJD2pvTpVrVWUb/g-- --===============0643981391012949876== 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". --===============0643981391012949876==--