summaryrefslogtreecommitdiffstats
path: root/m_option.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-06 16:27:14 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-06 16:27:14 +0000
commit293e3b42b1c215fae322651cb1eea03855cae418 (patch)
tree33ff49616a67fafec9abe2095c401c0a67487bb2 /m_option.c
parent3b94bb64c90573ca5dbd8257ba8d4d643ee3a719 (diff)
downloadmpv-293e3b42b1c215fae322651cb1eea03855cae418.tar.bz2
mpv-293e3b42b1c215fae322651cb1eea03855cae418.tar.xz
Don't give the initial / as part of the filename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9849 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_option.c')
-rw-r--r--m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.c b/m_option.c
index b3c86d444f..5abcbc909f 100644
--- a/m_option.c
+++ b/m_option.c
@@ -1617,7 +1617,7 @@ static int parse_custom_url(m_option_t* opt,char *name,
// skip
} else {
if(dst) {
- r = m_struct_set(desc,dst,"filename",ptr2);
+ r = m_struct_set(desc,dst,"filename",ptr2+1);
if(r < 0) {
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: error while setting filename\n");
return r;