diff rtsp.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 9a0a46d465ae
children 8adccfc01be3
line wrap: on
line diff
--- a/rtsp.c	Sat Nov 29 13:55:03 2008 +0000
+++ b/rtsp.c	Sun Nov 30 20:39:16 2008 +0000
@@ -901,7 +901,7 @@
         s->ctx_flags |= AVFMTCTX_NOHEADER;
 
     if (rt->transport == RTSP_TRANSPORT_RDT)
-        rtsp_st->tx_ctx = ff_rdt_parse_open(s, st,
+        rtsp_st->tx_ctx = ff_rdt_parse_open(s, st->index,
                                             rtsp_st->dynamic_protocol_context,
                                             rtsp_st->dynamic_handler);
     else