Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 9d7dc0be0d..8ff4325817 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -567,6 +567,10 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
payload_type, c->sample_rate,
payload_type, c->block_align == 38 ? 20 : 30);
break;
+ case AV_CODEC_ID_SPEEX:
+ av_strlcatf(buff, size, "a=rtpmap:%d speex/%d\r\n",
+ payload_type, c->sample_rate);
+
default:
/* Nothing special to do here... */
break;