Skip to content

Commit e6298e0

Browse files
committed
avformat/rtp: G.728 muxing and demuxing
1 parent 5a8c2b2 commit e6298e0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libavformat/rtp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static const struct {
5353
{13, "CN", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1},
5454
{14, "MPA", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP2, -1, -1},
5555
{14, "MPA", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP3, -1, -1},
56-
{15, "G728", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1},
56+
{15, "G728", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_G728, 8000, 1},
5757
{16, "DVI4", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 11025, 1},
5858
{17, "DVI4", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 22050, 1},
5959
{18, "G729", AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_NONE, 8000, 1},

libavformat/rtpenc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static int is_supported(enum AVCodecID id)
8989
case AV_CODEC_ID_OPUS:
9090
case AV_CODEC_ID_RAWVIDEO:
9191
case AV_CODEC_ID_BITPACKED:
92+
case AV_CODEC_ID_G728:
9293
return 1;
9394
default:
9495
return 0;

0 commit comments

Comments
 (0)