summaryrefslogtreecommitdiff
path: root/src/input/input_rtsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_rtsp.c')
-rw-r--r--src/input/input_rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c
index e8c1a1ce7..41885698d 100644
--- a/src/input/input_rtsp.c
+++ b/src/input/input_rtsp.c
@@ -266,7 +266,7 @@ static input_plugin_t *rtsp_class_get_instance (input_class_t *cls_gen, xine_str
/* since we handle only real streams yet, we can savely add
* an .rm extention to force handling by demux_real.
*/
- asprintf(&this->public_mrl, "%s.rm", this->mrl);
+ this->public_mrl = _x_asprintf("%s.rm", this->mrl);
this->nbc = nbc_init (stream);