diff options
author | Martin Storsjö <martin@martin.st> | 2009-04-07 06:41:55 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2009-04-07 06:41:55 +0000 |
commit | 9edfaf3c6c726600559ad9df07f3d3331e157f6e (patch) | |
tree | 71ab1a78d73856c6bd84381136b779c965f38485 /libavformat/sdp.c | |
parent | 215037887d1043f6cf1c82b26bfe8db1a594af02 (diff) | |
download | ffmpeg-9edfaf3c6c726600559ad9df07f3d3331e157f6e.tar.gz |
Add support for H.263 video in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 0c12862e47..fd51bc76ef 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -177,6 +177,10 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, payload_type, payload_type, config ? config : ""); break; + case CODEC_ID_H263: + case CODEC_ID_H263P: + av_strlcatf(buff, size, "a=rtpmap:%d H263-2000/90000\r\n", payload_type); + break; case CODEC_ID_MPEG4: if (c->extradata_size) { config = extradata2config(c); |