diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index eb650ff42a..74a7bf646f 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -877,7 +877,7 @@ retry: rt->get_parameter_supported)) { ff_rtsp_send_cmd_async(s, "GET_PARAMETER", rt->control_uri, NULL); } else { - ff_rtsp_send_cmd_async(s, "OPTIONS", "*", NULL); + ff_rtsp_send_cmd_async(s, "OPTIONS", rt->control_uri, NULL); } /* The stale flag should be reset when creating the auth response in * ff_rtsp_send_cmd_async, but reset it here just in case we never