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 E74C24A594 for ; Sat, 30 Mar 2024 00:24:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 57D9468D44F; Sat, 30 Mar 2024 02:24:01 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BB1CD68C545 for ; Sat, 30 Mar 2024 02:23:54 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 20EE960003 for ; Sat, 30 Mar 2024 00:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1711758234; 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=y/uez1N84NwNyMxqxo3atvJOQLq1SfMSnTbcsgPO1EA=; b=UsiEuK1A1oIQaLkY/PRNwTzutDMe4YiZc0k+ZrZiTMXaOHeo5XjGr4kQP1uFsg5WTpJYsP Mt94rE87q9BfbRix3cM+8aVkfJkA12OmURVwguhcQePHQQZhIG/q1heJoURFDLRGcEaqtU mVMBqdVzTlBtjhuvU0j469IJaGH2dVwOnrnuSKlYKiOsmO1WnOxHbDUQdUlbIA1I91qwij YLvpNWIr4upwD16fDkLiqoajRuHCvb2h7tCDQFcbwkoHsa8I6cDyYYPeiZkRpCPgM1iRj1 pd/7fkSGhpOeZaY19RmLq6Z7eq18MwzYUCXcif1/+Er1ZFxi4FiLD6eBOF9MNg== Date: Sat, 30 Mar 2024 01:23:53 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240330002353.GU6420@pb2> References: <20240328201132.1804716-1-marth64@proxyid.net> <20240328201132.1804716-3-marth64@proxyid.net> MIME-Version: 1.0 In-Reply-To: <20240328201132.1804716-3-marth64@proxyid.net> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer 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="===============7964257393976997144==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7964257393976997144== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u4V38IR2iY4Njorm" Content-Disposition: inline --u4V38IR2iY4Njorm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 28, 2024 at 03:11:29PM -0500, Marth64 wrote: [...] > +static int rcwt_probe(const AVProbeData *p) > +{ > + return p->buf_size > RCWT_HEADER_SIZE && > + AV_RB16(p->buf) =3D=3D 0xCCCC && > + AV_RB8(p->buf + 2) =3D=3D 0xED && > + AV_RB16(p->buf + 6) =3D=3D 0x0001 ? 50 : 0; > +} > + > +const FFInputFormat ff_rcwt_demuxer =3D { > + .p.name =3D "rcwt", > + .p.long_name =3D NULL_IF_CONFIG_SMALL("RCWT (Raw Captions With Ti= me)"), > + .p.extensions =3D "bin", this causes a mp3 i have to be misdetected ~/videos/sbQ9.bin (this is a actual file i had not a file crafted for this) i think the entry for extensions should be removed (which fixes this) having a ".bin" is not a strong indication that its rcwt thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell --u4V38IR2iY4Njorm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZgdblgAKCRBhHseHBAsP q+cuAJ9Kc3hbHcqSRwm+OhSjGyz6NyBmVgCfWSla7QO5FOJYOC391aWwNP7l21w= =z0dP -----END PGP SIGNATURE----- --u4V38IR2iY4Njorm-- --===============7964257393976997144== 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". --===============7964257393976997144==--