diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-07 01:25:47 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-07 01:25:47 +0000 |
commit | 4fce284c085aa9d88aa7881015500964f70dbf55 (patch) | |
tree | e767655d6aa0e92ef9cdf129090d8a642d78ac95 /libavformat/rdt.h | |
parent | 99b2ac0797ea9ef5ef79ef1e4c42240551fd28e1 (diff) | |
download | ffmpeg-4fce284c085aa9d88aa7881015500964f70dbf55.tar.gz |
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
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r-- | libavformat/rdt.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ |