diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 664272c0ac..c9fa54d3a8 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -382,7 +382,7 @@ static void parse_fmtp(AVFormatContext *s, RTSPState *rt, if (rtsp_st->sdp_payload_type == payload_type && rtsp_st->dynamic_handler && rtsp_st->dynamic_handler->parse_sdp_a_line) { - rtsp_st->dynamic_handler->parse_sdp_a_line(s, i, + rtsp_st->dynamic_handler->parse_sdp_a_line(s, rtsp_st->stream_index, rtsp_st->dynamic_protocol_context, line); } }