summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/combined/ffmpeg/demux_avformat.c1
1 files changed, 1 insertions, 0 deletions
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);
}