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 A336F4E34B for ; Mon, 9 Jun 2025 10:09:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 71BA968CC0C; Mon, 9 Jun 2025 13:09:03 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 19B9E68CBE2 for ; Mon, 9 Jun 2025 13:09:01 +0300 (EEST) Received: from 7aa600ed7d3aa9711d988a339f62738b ([1.145.244.154]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 559A8rt7012196 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 9 Jun 2025 10:08:59 GMT Date: Mon, 9 Jun 2025 20:08:52 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <91c26b669ba279207c1bb5f25d73a019e944ca49.1749463495.git.pross@xvid.org> References: MIME-Version: 1.0 In-Reply-To: Subject: [FFmpeg-devel] [PATCHv3 8/8] avformat/rtp: 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="===============1521085406019702993==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1521085406019702993== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Bam+Nlpy0rePKok" Content-Disposition: inline --3Bam+Nlpy0rePKok Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- libavformat/rtp.c | 2 +- libavformat/rtpenc.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 564489b613..5bde171cf4 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -53,7 +53,7 @@ static const struct { {13, "CN", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1}, {14, "MPA", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP2, -1, -1}, {14, "MPA", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP3, -1, -1}, - {15, "G728", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1}, + {15, "G728", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_G728, 8000, 1}, {16, "DVI4", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 11025, 1}, {17, "DVI4", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 22050, 1}, {18, "G729", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1}, diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index b220a941a2..795229aca3 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -89,6 +89,7 @@ static int is_supported(enum AVCodecID id) case AV_CODEC_ID_OPUS: case AV_CODEC_ID_RAWVIDEO: case AV_CODEC_ID_BITPACKED: + case AV_CODEC_ID_G728: return 1; default: return 0; --=20 2.47.2 -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --3Bam+Nlpy0rePKok Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaEaytAAKCRBnYHnFrEDd a/8EAKDOwS++brKymrOGk0dpYlgZYGJVQQCfQSh8XA9PF8EwMuxPk/6VQR9lts4= =Tify -----END PGP SIGNATURE----- --3Bam+Nlpy0rePKok-- --===============1521085406019702993== 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". --===============1521085406019702993==--