comparison 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
comparison
equal deleted inserted replaced
4049:116a6910592c 4050:7bc64c735f8b
899 st = s->streams[rtsp_st->stream_index]; 899 st = s->streams[rtsp_st->stream_index];
900 if (!st) 900 if (!st)
901 s->ctx_flags |= AVFMTCTX_NOHEADER; 901 s->ctx_flags |= AVFMTCTX_NOHEADER;
902 902
903 if (rt->transport == RTSP_TRANSPORT_RDT) 903 if (rt->transport == RTSP_TRANSPORT_RDT)
904 rtsp_st->tx_ctx = ff_rdt_parse_open(s, st, 904 rtsp_st->tx_ctx = ff_rdt_parse_open(s, st->index,
905 rtsp_st->dynamic_protocol_context, 905 rtsp_st->dynamic_protocol_context,
906 rtsp_st->dynamic_handler); 906 rtsp_st->dynamic_handler);
907 else 907 else
908 rtsp_st->tx_ctx = rtp_parse_open(s, st, rtsp_st->rtp_handle, 908 rtsp_st->tx_ctx = rtp_parse_open(s, st, rtsp_st->rtp_handle,
909 rtsp_st->sdp_payload_type, 909 rtsp_st->sdp_payload_type,