Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9139d783
Commit
9139d783
authored
Feb 23, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: fix dirent issue with the recent "fixes"
parent
e2d3cfa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
54 deletions
+60
-54
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+60
-54
No files found.
modules/demux/mkv.cpp
View file @
9139d783
...
@@ -47,6 +47,12 @@
...
@@ -47,6 +47,12 @@
#ifdef HAVE_DIRENT_H
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# include <dirent.h>
#else if defined(MSCVER)
extern
"C"
{
void
*
vlc_opendir
(
const
char
*
)
;
void
*
vlc_readdir
(
void
*
);
int
vlc_closedir
(
void
*
)
;
}
#endif
#endif
/* libebml and matroska */
/* libebml and matroska */
...
@@ -598,7 +604,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -598,7 +604,7 @@ static int Open( vlc_object_t * p_this )
if
(
p_src_dir
!=
NULL
)
if
(
p_src_dir
!=
NULL
)
{
{
while
((
p_file_item
=
readdir
(
p_src_dir
)))
while
((
p_file_item
=
(
dirent
*
)
readdir
(
p_src_dir
)))
{
{
if
(
strlen
(
p_file_item
->
d_name
)
>
4
)
if
(
strlen
(
p_file_item
->
d_name
)
>
4
)
{
{
...
...
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