Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
388d2d1b
Commit
388d2d1b
authored
Apr 29, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up
parent
1715ecf8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
modules/access/directory.c
modules/access/directory.c
+7
-10
No files found.
modules/access/directory.c
View file @
388d2d1b
...
@@ -411,19 +411,16 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
...
@@ -411,19 +411,16 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
for
(
a
=
0
;
a
<
i_extensions
;
a
++
)
for
(
a
=
0
;
a
<
i_extensions
;
a
++
)
{
{
int
b
;
char
*
tmp
,
*
ptr
;
char
*
tmp
;
while
(
psz_parser
[
0
]
!=
'\0'
&&
psz_parser
[
0
]
==
' '
)
psz_parser
++
;
while
(
psz_parser
[
0
]
!=
'\0'
&&
psz_parser
[
0
]
==
' '
)
psz_parser
++
;
for
(
b
=
0
;
psz_parser
[
b
]
!=
'\0'
;
b
++
)
ptr
=
strchr
(
psz_parser
,
','
);
{
tmp
=
(
ptr
==
NULL
)
if
(
psz_parser
[
b
]
==
','
)
break
;
?
strdup
(
psz_parser
)
}
:
strndup
(
psz_parser
,
ptr
-
psz_parser
);
tmp
=
malloc
(
b
+
1
);
strncpy
(
tmp
,
psz_parser
,
b
);
tmp
[
b
]
=
0
;
ppsz_extensions
[
a
]
=
tmp
;
ppsz_extensions
[
a
]
=
tmp
;
psz_parser
+=
b
+
1
;
psz_parser
=
ptr
+
1
;
}
}
}
}
...
...
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