From 70e981cf5d75abc9bff076969270b587a0004d3f Mon Sep 17 00:00:00 2001 From: Rumin Sam Date: Mon, 9 Dec 2013 17:43:51 -0300 Subject: rtspdec: Fix keep-alive request for ACTi cameras MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some ACTi cameras fail if "*" is passed as the URI. Signed-off-by: Ismael Luceno Signed-off-by: Martin Storsjö --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtspdec.c') diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 160d49bb3d..583070a745 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 -- cgit v1.2.3