[FFmpeg-devel] [PATCH v4 2/2] libavformat/rtp.c: update rtp_payload_types

xweimvp at gmail.com xweimvp at gmail.com
Wed Jan 20 10:34:14 EET 2021


From: weishao <xweimvp at gmail.com>

Signed-off-by: weishao <xweimvp at gmail.com>
---
 libavformat/rtp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index 38e234391b..86c839aaa4 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -57,6 +57,8 @@ static const struct {
   {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},
+  {20, "LE16",       AVMEDIA_TYPE_AUDIO,   AV_CODEC_ID_PCM_S16LE, 44100, 2},
+  {21, "LE16",       AVMEDIA_TYPE_AUDIO,   AV_CODEC_ID_PCM_S16LE, 44100, 1},
   {25, "CelB",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_NONE, 90000, -1},
   {26, "JPEG",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_MJPEG, 90000, -1},
   {28, "nv",         AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_NONE, 90000, -1},
-- 


2.17.1



More information about the ffmpeg-devel mailing list