From 79a1f3c023dda1458c6f4a79e508fe9d031152df Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 30 Nov 2008 20:40:04 +0000 Subject: [PATCH] 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 --- libavformat/rdt.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libavformat/rdt.h b/libavformat/rdt.h index 63e4029..04cc82d 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, -- 2.7.4