summaryrefslogtreecommitdiff
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-11-30 20:39:16 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-11-30 20:39:16 +0000
commite0d1eabf14ec84f6a2114740d092d31381a98086 (patch)
treeeeb7b1d259f0070c4d72528d32ad6a6d7b68c702 /libavformat/rdt.c
parent640760da3efeffa5893caa905d2a0fe39b1e55ff (diff)
Change function prototype from taking an AVStream to taking an index to the
stream itself, plus a name change to signify that there may be multiple AVStreams per RDT set. See discussion in "[PATCH] RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index b696b329da..645b5806cd 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -45,7 +45,7 @@ struct RDTDemuxContext {
};
RDTDemuxContext *
-ff_rdt_parse_open(AVFormatContext *ic, AVStream *st,
+ff_rdt_parse_open(AVFormatContext *ic, int first_stream_of_set_idx,
void *priv_data, RTPDynamicProtocolHandler *handler)
{
RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext));
@@ -53,7 +53,7 @@ ff_rdt_parse_open(AVFormatContext *ic, AVStream *st,
return NULL;
s->ic = ic;
- s->st = st;
+ s->st = ic->streams[first_stream_of_set_idx];
s->prev_set_id = -1;
s->prev_timestamp = -1;
s->parse_packet = handler->parse_packet;