Mercurial > libavformat.hg
diff rdt.c @ 4050:7bc64c735f8b libavformat
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.
author | rbultje |
---|---|
date | Sun, 30 Nov 2008 20:39:16 +0000 |
parents | e35f52a277d7 |
children | 302cc68489e4 |
line wrap: on
line diff
--- a/rdt.c Sat Nov 29 13:55:03 2008 +0000 +++ b/rdt.c Sun Nov 30 20:39:16 2008 +0000 @@ -45,7 +45,7 @@ }; 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 @@ 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;