aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2009-04-07 06:41:55 +0000
committerLuca Abeni <lucabe72@email.it>2009-04-07 06:41:55 +0000
commit9edfaf3c6c726600559ad9df07f3d3331e157f6e (patch)
tree71ab1a78d73856c6bd84381136b779c965f38485 /libavformat/rtpenc.c
parent215037887d1043f6cf1c82b26bfe8db1a594af02 (diff)
downloadffmpeg-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/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 17c44d877c..511c0bd5bc 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -42,6 +42,8 @@ static uint64_t ntp_time(void)
static int is_supported(enum CodecID id)
{
switch(id) {
+ case CODEC_ID_H263:
+ case CODEC_ID_H263P:
case CODEC_ID_H264:
case CODEC_ID_MPEG1VIDEO:
case CODEC_ID_MPEG2VIDEO:
@@ -370,6 +372,10 @@ static int rtp_write_packet(AVFormatContext *s1, AVPacket *pkt)
case CODEC_ID_H264:
ff_rtp_send_h264(s1, buf1, size);
break;
+ case CODEC_ID_H263:
+ case CODEC_ID_H263P:
+ ff_rtp_send_h263(s1, buf1, size);
+ break;
default:
/* better than nothing : send the codec raw data */
rtp_send_raw(s1, buf1, size);