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 D2FD84EF32 for ; Wed, 14 May 2025 22:32:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id AE0BB68BE22; Thu, 15 May 2025 01:32:53 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 2F06568BABF for ; Thu, 15 May 2025 01:32:47 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 53F9B43ACA for ; Wed, 14 May 2025 22:32:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1747261966; 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=JfNnrsmGJMc8ibZAoLRRwPh+GqFsCfob9abLU3/apGg=; b=ACZY/qk1M8glNRR9J3hXVr6HtGyBamjp8YXRSxEuJ+b9CP8pjn4g9ljsYEgALbbyJ4WiDP mebJabG5mMbgaRpk4c/iKm0qN0a04KBr5ap/K5ho7oZKuoqPzN5z8txT0c2qTXfKw478Hl cb18ZZN/R4frWKZ1lOS5ZHsjpZsf1zFNpXWa5Vs5FrQWYpYtxrs30Z3i+r6rlyENl3eacD YTciiYiDtJn80sqFoJzLhckQxcJ2jtEpi8YnsnIoi1YxdPufrUb1dIdluoUNCKYgjJXu8w jdMBSNu24jh4f14hDFq8LIpezwIFX2/6+56oNyl3MP1dEmiPIK0pMp21zZET6A== Date: Thu, 15 May 2025 00:32:44 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250514223244.GM29660@pb2> References: <20250509234327.71039-1-romain.beauxis@gmail.com> <20250509234327.71039-2-romain.beauxis@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250509234327.71039-2-romain.beauxis@gmail.com> X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeftdekudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v5 1/7] libavformat/oggdec.h: Document packet function return value. 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="===============0322237199570586035==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0322237199570586035== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vRCs+Tj6pwiFrQdW" Content-Disposition: inline --vRCs+Tj6pwiFrQdW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 09, 2025 at 06:43:21PM -0500, Romain Beauxis wrote: > --- > libavformat/oggdec.h | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h > index 43df23f4cb..5225b77a07 100644 > --- a/libavformat/oggdec.h > +++ b/libavformat/oggdec.h > @@ -38,6 +38,12 @@ struct ogg_codec { > * -1 if an error occurred or for unsupported stream > */ > int (*header)(AVFormatContext *, int); > + /** > + * Attempt to process a packet as a data packet > + * @return < 0 (AVERROR) code or -1 on error > + * =3D=3D 0 if the packet was a regular data packet. > + * =3D=3D 0 or 1 if the packet was a header from a chained b= itstream. > + */ > int (*packet)(AVFormatContext *, int); > /** > * Translate a granule into a timestamp. > --=20 will apply, so the patchset becomes smaller thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws. -- Plato --vRCs+Tj6pwiFrQdW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaCUaBgAKCRBhHseHBAsP q2eAAJwLVLml6JO+P4X/yhul+ABPqX5nfgCgkEgsbam2Acbtu9OV8Ksqwk4+CP0= =vGlt -----END PGP SIGNATURE----- --vRCs+Tj6pwiFrQdW-- --===============0322237199570586035== 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". --===============0322237199570586035==--