Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
d459aab3
Commit
d459aab3
authored
Feb 20, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
folder: use make_path
parent
581da20c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
modules/meta_engine/folder.c
modules/meta_engine/folder.c
+4
-14
No files found.
modules/meta_engine/folder.c
View file @
d459aab3
...
...
@@ -90,20 +90,12 @@ static int FindMeta( vlc_object_t *p_this )
if
(
!
psz_dir
)
return
VLC_EGENERIC
;
char
*
psz_path
=
psz_dir
;
if
(
strncmp
(
psz_path
,
"file://"
,
7
)
||
!
decode_URI
(
psz_path
+
7
)
)
{
char
*
psz_path
=
make_path
(
psz_dir
);
free
(
psz_dir
);
if
(
psz_path
==
NULL
)
return
VLC_EGENERIC
;
}
#if defined(WIN32) && !defined(UNDER_CE)
psz_path
+=
8
;
#else
psz_path
+=
7
;
#endif
char
*
psz_buf
=
strrchr
(
psz_path
,
'/'
);
char
*
psz_buf
=
strrchr
(
psz_path
,
DIR_SEP_CHAR
);
if
(
psz_buf
)
*++
psz_buf
=
'\0'
;
else
...
...
@@ -134,7 +126,5 @@ static int FindMeta( vlc_object_t *p_this )
}
}
free
(
psz_dir
);
return
b_have_art
?
VLC_SUCCESS
:
VLC_EGENERIC
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment