summaryrefslogtreecommitdiff
path: root/libavformat/sdp.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-07 20:41:38 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-07 20:41:38 +0200
commit50462e3e5e3229ca76336b9f607d1b48134ae8d8 (patch)
treedb198009c12d8c560f14425bf5d0096a21330f67 /libavformat/sdp.c
parent123f6dc6b56392cdc8ec648da52c64c94ea0ff0c (diff)
lavf/sdp: Fix MIME-type for big-endian G.726.
RFC 3551 defines "G726" for little-endian ("right-justified") G.726 and announces "AAL2-G726" for big-endian ("left-justified") G.726.
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 66e9dffbf0..1f1c28e378 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -674,7 +674,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVStream *st, int
break;
case AV_CODEC_ID_ADPCM_G726: {
if (payload_type >= RTP_PT_PRIVATE)
- av_strlcatf(buff, size, "a=rtpmap:%d G726-%d/%d\r\n",
+ av_strlcatf(buff, size, "a=rtpmap:%d AAL2-G726-%d/%d\r\n",
payload_type,
p->bits_per_coded_sample*8,
p->sample_rate);