From 4fce284c085aa9d88aa7881015500964f70dbf55 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 7 Sep 2008 01:25:47 +0000 Subject: Implement RDT-specific data parsing routines. After these changes, simple playback of RTSP/RDT streams should work. See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15237 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rdt.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/rdt.h') diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 37b1928570..fe2f4f484b 100644 --- a/libavformat/rdt.h +++ b/libavformat/rdt.h @@ -54,4 +54,11 @@ void av_register_rdt_dynamic_payload_handlers(void); void ff_rdt_subscribe_rule(RTPDemuxContext *s, char *cmd, int size, int stream_nr, int rule_nr); +/** + * Parse RDT-style packet data (header + media data). + * Usage similar to rtp_parse_packet(). + */ +int ff_rdt_parse_packet(RTPDemuxContext *s, AVPacket *pkt, + const uint8_t *buf, int len); + #endif /* AVFORMAT_RDT_H */ -- cgit v1.2.3