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 579E04E372 for ; Mon, 9 Jun 2025 10:08:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 205EA68CA33; Mon, 9 Jun 2025 13:08:34 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 6ADA468CA33 for ; Mon, 9 Jun 2025 13:08:32 +0300 (EEST) Received: from 462b76e4c4cad8e2a38bf165425f29d9 ([1.145.244.154]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 559A8N1s000280 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 9 Jun 2025 10:08:29 GMT Date: Mon, 9 Jun 2025 20:08:22 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <66c1c89fd7a9d996e9a3feb5b5f9faf91d6bf965.1749463495.git.pross@xvid.org> References: MIME-Version: 1.0 In-Reply-To: Subject: [FFmpeg-devel] [PATCHv3 6/8] avformat/riff: 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="===============6136973260135851989==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6136973260135851989== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PTqFmv8Acd6L2u/Z" Content-Disposition: inline --PTqFmv8Acd6L2u/Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- libavformat/riff.c | 2 ++ libavformat/riffenc.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 017a0658ef..151563e9f2 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -555,6 +555,7 @@ const AVCodecTag ff_codec_wav_tags[] =3D { { AV_CODEC_ID_ADPCM_G726, 0x0045 }, { AV_CODEC_ID_ADPCM_G726, 0x0014 }, /* g723 Antex */ { AV_CODEC_ID_ADPCM_G726, 0x0040 }, /* g721 Antex */ + { AV_CODEC_ID_G728, 0x0041 }, { AV_CODEC_ID_MP2, 0x0050 }, { AV_CODEC_ID_MP3, 0x0055 }, { AV_CODEC_ID_AMR_NB, 0x0057 }, @@ -611,6 +612,7 @@ const AVCodecTag ff_codec_wav_tags[] =3D { { AV_CODEC_ID_G723_1, 0xA100 }, /* Comverse Infosys Ltd. G723= 1 */ { AV_CODEC_ID_AAC, 0xA106 }, { AV_CODEC_ID_SPEEX, 0xA109 }, + { AV_CODEC_ID_G728, 0xCD02 }, { AV_CODEC_ID_FLAC, 0xF1AC }, /* DFPWM does not have an assigned format tag; it uses a GUID in WAVEF= ORMATEX instead */ { AV_CODEC_ID_DFPWM, 0xFFFE }, diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c index 59c9932c36..df98b3b117 100644 --- a/libavformat/riffenc.c +++ b/libavformat/riffenc.c @@ -92,6 +92,7 @@ int ff_put_wav_header(AVFormatContext *s, AVIOContext *pb, avio_wl32(pb, par->sample_rate); if (par->codec_id =3D=3D AV_CODEC_ID_ATRAC3 || par->codec_id =3D=3D AV_CODEC_ID_G723_1 || + par->codec_id =3D=3D AV_CODEC_ID_G728 || par->codec_id =3D=3D AV_CODEC_ID_MP2 || par->codec_id =3D=3D AV_CODEC_ID_MP3 || par->codec_id =3D=3D AV_CODEC_ID_GSM_MS) { --=20 2.47.2 -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --PTqFmv8Acd6L2u/Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaEaylgAKCRBnYHnFrEDd a0KPAJ4sTaNPM5EwbjzLubs5C+x1gyTjRwCfbLdcyE7mYCLaamQ24Nuxma4YJps= =0Bk3 -----END PGP SIGNATURE----- --PTqFmv8Acd6L2u/Z-- --===============6136973260135851989== 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". --===============6136973260135851989==--