summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-20 01:11:08 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-20 01:11:08 +0000
commite9fce261a65dabea2a8d67039c3ae093e0f288c8 (patch)
treebde1ad6fab128bb25ef2e776ca7c690896a7c069 /libavformat/rtpdec.c
parent20f93c3ccf03f258a5bb658565665a68b61f4996 (diff)
Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
SDP line handler that parses the streamID in the SDP so that ASF stream data can be matched to their respective streams in the RTSP demuxer. See "[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist. Originally committed as revision 18061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r--libavformat/rtpdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index e1ba888cb1..9076f3f998 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -30,6 +30,7 @@
#include "network.h"
#include "rtpdec.h"
+#include "rtp_asf.h"
#include "rtp_h264.h"
//#define DEBUG
@@ -60,6 +61,9 @@ void av_register_rtp_dynamic_payload_handlers(void)
ff_register_dynamic_payload_handler(&mp4v_es_handler);
ff_register_dynamic_payload_handler(&mpeg4_generic_handler);
ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler);
+
+ ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfv_handler);
+ ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfa_handler);
}
static int rtcp_parse_packet(RTPDemuxContext *s, const unsigned char *buf, int len)