1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-04 05:07:51 +00:00

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
This commit is contained in:
albeu 2003-04-06 16:27:14 +00:00
parent 3b94bb64c9
commit 293e3b42b1

View File

@ -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;