diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-17 17:05:24 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-03 17:14:34 +0400 |
commit | 3f95f0dda55fca74b646937095a02a8fa9776622 (patch) | |
tree | 7d3b03ca97bf8aa208bc7b095f4a825dd849078d /libavformat/rtsp.c | |
parent | a0b7e289075dccf223b7f407790d8a86fc5d77e8 (diff) |
rtpdec: Move the URLContext used for RTCP RR out from the context, to a parameter
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 8142094a70..d5b3242da4 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -643,7 +643,7 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st) rtsp_st->dynamic_protocol_context, rtsp_st->dynamic_handler); else if (CONFIG_RTPDEC) - rtsp_st->transport_priv = ff_rtp_parse_open(s, st, rtsp_st->rtp_handle, + rtsp_st->transport_priv = ff_rtp_parse_open(s, st, rtsp_st->sdp_payload_type, reordering_queue_size); @@ -1860,7 +1860,7 @@ int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt) case RTSP_LOWER_TRANSPORT_UDP_MULTICAST: len = udp_read_packet(s, &rtsp_st, rt->recvbuf, RECVBUF_SIZE, wait_end); if (len > 0 && rtsp_st->transport_priv && rt->transport == RTSP_TRANSPORT_RTP) - ff_rtp_check_and_send_back_rr(rtsp_st->transport_priv, len); + ff_rtp_check_and_send_back_rr(rtsp_st->transport_priv, rtsp_st->rtp_handle, len); break; } if (len == AVERROR(EAGAIN) && first_queue_st && |