changeset 4051:53c652f24105 libavformat

document ff_rdt_parse_open(). See ML discussion in "[PATCH] RDT/Realmedia patches #2" thread.
author rbultje
date Sun, 30 Nov 2008 20:40:04 +0000
parents 7bc64c735f8b
children 302cc68489e4
files rdt.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rdt.h	Sun Nov 30 20:39:16 2008 +0000
+++ b/rdt.h	Sun Nov 30 20:40:04 2008 +0000
@@ -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,