summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2013-11-07 13:42:36 +0200
committerPetri Hintukainen <phintuka@users.sourceforge.net>2013-11-07 13:42:36 +0200
commitff183408581f2ebe4c58252d140a42fd303314b1 (patch)
tree07810a2ac6aaca19bf8ae7f635a0e305bbc877b6
parent5163b2a485d44ed14ae307e729a05ff01169c5e1 (diff)
downloadxine-lib-ff183408581f2ebe4c58252d140a42fd303314b1.tar.gz
xine-lib-ff183408581f2ebe4c58252d140a42fd303314b1.tar.bz2
avformat: fix rtsp over http
-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);
}