From ff183408581f2ebe4c58252d140a42fd303314b1 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Thu, 7 Nov 2013 13:42:36 +0200 Subject: avformat: fix rtsp over http --- src/combined/ffmpeg/demux_avformat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/combined/ffmpeg/demux_avformat.c b/src/combined/ffmpeg/demux_avformat.c index 2ea7e0ddb..8a3561303 100644 --- a/src/combined/ffmpeg/demux_avformat.c +++ b/src/combined/ffmpeg/demux_avformat.c @@ -162,6 +162,7 @@ static input_plugin_t *input_avformat_get_instance (input_class_t *cls_gen, xine } if (!strncmp(mrl, "rtsp+http", 9)) { av_dict_set(&options, "rtsp_transport", "http", 0); + real_mrl = strdup(mrl); memmove(real_mrl + 4, real_mrl + 9, strlen(real_mrl) - 9 + 1); } -- cgit v1.2.3