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 60A2D4566B for ; Thu, 9 Feb 2023 22:35:07 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 10D9668BE48; Fri, 10 Feb 2023 00:35:04 +0200 (EET) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2BC0068BDBA for ; Fri, 10 Feb 2023 00:34:58 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 44C2AFF803 for ; Thu, 9 Feb 2023 22:34:56 +0000 (UTC) Date: Thu, 9 Feb 2023 23:34:56 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230209223456.GX1949656@pb2> References: <20230209044058.2872534-1-marth64@proxyid.net> MIME-Version: 1.0 In-Reply-To: <20230209044058.2872534-1-marth64@proxyid.net> Subject: Re: [FFmpeg-devel] [PATCH] ffprobe/eac3/mlp/dca: add detection of spatial audio extensions 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="===============2674164301150561395==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2674164301150561395== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SgHrY61fwTmCgGMr" Content-Disposition: inline --SgHrY61fwTmCgGMr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2023 at 10:41:00PM -0600, Marth64 wrote: > Signed-off-by: Marth64 > --- > Adds detection of spatial/object-based audio extensions in E-AC-3, > TrueHD, and DCA XLL (DTS). This includes Atmos, DTS:X, and IMAX formats. > Please let me know what I could improve, I'm learning still. > Thank you. [...] > @@ -1054,10 +1055,23 @@ static int parse_frame(DCAXllDecoder *s, const ui= nt8_t *data, int size, DCAExssA > return ret; > if ((ret =3D parse_band_data(s)) < 0) > return ret; > + > + extradata_peek_pos =3D (get_bits_count(&s->gb) + 31) & ~31; > + if (s->frame_size * 8 > extradata_peek_pos) { > + unsigned int extradata_syncword =3D show_bits(&s->gb, 32); show_bits_long() [..] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus --SgHrY61fwTmCgGMr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCY+V1CgAKCRBhHseHBAsP q6bDAJ9aRR8Xn0uI0a5Bk2GoYYwxsKFjLACfTzZUhawokcEdBPmrDM5AtJTU0Ow= =uoI8 -----END PGP SIGNATURE----- --SgHrY61fwTmCgGMr-- --===============2674164301150561395== 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". --===============2674164301150561395==--