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 5429B4E376 for ; Mon, 9 Jun 2025 10:08:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 0B4CE68CBCE; Mon, 9 Jun 2025 13:08:49 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 3B03768CA2B for ; Mon, 9 Jun 2025 13:08:46 +0300 (EEST) Received: from 1169627c7e8d2469804b44bf12cdc2ce ([1.145.244.154]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 559A8cFH023732 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 9 Jun 2025 10:08:44 GMT Date: Mon, 9 Jun 2025 20:08:38 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <653c199c57434b5041cbaa34fe7c26f206a4bc90.1749463495.git.pross@xvid.org> References: MIME-Version: 1.0 In-Reply-To: Subject: [FFmpeg-devel] [PATCHv3 7/8] avformat/aiff: G.728 muxing and demuxing 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="===============8231595622768408998==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8231595622768408998== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/2DVJCkpU/hwS1IO" Content-Disposition: inline --/2DVJCkpU/hwS1IO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- libavformat/aiff.c | 1 + libavformat/aiffdec.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libavformat/aiff.c b/libavformat/aiff.c index 1ceac69a70..907f7d8d28 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -40,6 +40,7 @@ const AVCodecTag ff_codec_aiff_tags[] =3D { { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') }, { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') }, { AV_CODEC_ID_ADPCM_G726LE, MKTAG('G','7','2','6') }, + { AV_CODEC_ID_G728, MKTAG('G','7','2','8') }, { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') }, { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') }, { AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') }, diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index bd5bd2e4bb..aeb00cccd0 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -174,6 +174,9 @@ static int get_aiff_header(AVFormatContext *s, int64_t = size, case AV_CODEC_ID_GSM: par->block_align =3D 33; break; + case AV_CODEC_ID_G728: + par->block_align =3D 5; + break; default: aiff->block_duration =3D 1; break; --=20 2.47.2 -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --/2DVJCkpU/hwS1IO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaEaypgAKCRBnYHnFrEDd axPGAJ93LE+K3WYMiJEgBa1IXZ1csVt0mgCdEwlVFtYBJ/hbesCb9BtlmpWdCSI= =wkYZ -----END PGP SIGNATURE----- --/2DVJCkpU/hwS1IO-- --===============8231595622768408998== 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". --===============8231595622768408998==--