aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-01-21 14:01:57 +0000
committerLuca Abeni <lucabe72@email.it>2008-01-21 14:01:57 +0000
commitf79bfe481d48cd9a24f2241bd25e59897f878ab8 (patch)
treeeaca43d929fd5ce98d9ce496a8df17b170bd3f97 /libavformat/rtpenc.c
parentafecbec22b029d5b83a7ac4d5691b121743a4cd9 (diff)
downloadffmpeg-f79bfe481d48cd9a24f2241bd25e59897f878ab8.tar.gz
Add support for H.264 video in the RTP muxer
Originally committed as revision 11589 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 291d474204..9e62c6571f 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -28,6 +28,7 @@
#include "rtp_internal.h"
#include "rtp_mpv.h"
#include "rtp_aac.h"
+#include "rtp_h264.h"
//#define DEBUG
@@ -334,6 +335,9 @@ static int rtp_write_packet(AVFormatContext *s1, AVPacket *pkt)
case CODEC_ID_MPEG2TS:
rtp_send_mpegts_raw(s1, buf1, size);
break;
+ case CODEC_ID_H264:
+ ff_rtp_send_h264(s1, buf1, size);
+ break;
default:
/* better than nothing : send the codec raw data */
rtp_send_raw(s1, buf1, size);