diff mbox series

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

Message ID 20210120083414.26006-2-xweimvp@gmail.com
State New
Headers show
Series [FFmpeg-devel,v4,1/2] libavformat/sdp.c: add LE16 format(pcm The least significant byte)
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

xweimvp@gmail.com Jan. 20, 2021, 8:34 a.m. UTC
From: weishao <xweimvp@gmail.com>

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

Patch

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},