summaryrefslogtreecommitdiff
path: root/libavformat/rdt.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-11-30 20:40:04 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-11-30 20:40:04 +0000
commit79a1f3c023dda1458c6f4a79e508fe9d031152df (patch)
treea8648057b58023a4dc11f3ad99c7eb201b1d8ea9 /libavformat/rdt.h
parente0d1eabf14ec84f6a2114740d092d31381a98086 (diff)
downloadffmpeg-79a1f3c023dda1458c6f4a79e508fe9d031152df.tar.gz
document ff_rdt_parse_open(). See ML discussion in "[PATCH] RDT/Realmedia
patches #2" thread. Originally committed as revision 15963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r--libavformat/rdt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h
index 63e4029bc7..04cc82d389 100644
--- a/libavformat/rdt.h
+++ b/libavformat/rdt.h
@@ -28,6 +28,16 @@
typedef struct RDTDemuxContext RDTDemuxContext;
+/**
+ * Allocate and init the RDT parsing context.
+ * @param ic the containing RTSP demuxer context
+ * @param first_stream_of_set_idx index to the first AVStream in the RTSP
+ * demuxer context's ic->streams array that is part of this
+ * particular stream's set of streams (with identical content)
+ * @param priv_data private data of the payload data handler context
+ * @param handler pointer to the parse_packet() payload parsing function
+ * @return a newly allocated RDTDemuxContext. Free with ff_rdt_parse_close().
+ */
RDTDemuxContext *ff_rdt_parse_open(AVFormatContext *ic,
int first_stream_of_set_idx,
void *priv_data,