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
65edb507
Commit
65edb507
authored
Oct 22, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix clock sources enumeration
parent
999533ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/libvlc.h
src/libvlc.h
+1
-1
src/win32/thread.c
src/win32/thread.c
+3
-2
No files found.
src/libvlc.h
View file @
65edb507
...
@@ -43,7 +43,7 @@ void system_Init ( void );
...
@@ -43,7 +43,7 @@ void system_Init ( void );
void
system_Configure
(
libvlc_int_t
*
,
int
,
const
char
*
const
[]
);
void
system_Configure
(
libvlc_int_t
*
,
int
,
const
char
*
const
[]
);
#ifdef WIN32
#ifdef WIN32
void
system_End
(
void
);
void
system_End
(
void
);
size_t
EnumClockSource
(
vlc_object_t
*
,
char
***
,
char
***
);
size_t
EnumClockSource
(
vlc_object_t
*
,
c
onst
char
*
,
c
har
***
,
char
***
);
#endif
#endif
void
vlc_CPU_init
(
void
);
void
vlc_CPU_init
(
void
);
void
vlc_CPU_dump
(
vlc_object_t
*
);
void
vlc_CPU_dump
(
vlc_object_t
*
);
...
...
src/win32/thread.c
View file @
65edb507
...
@@ -793,7 +793,8 @@ static void SelectClockSource (vlc_object_t *obj)
...
@@ -793,7 +793,8 @@ static void SelectClockSource (vlc_object_t *obj)
#define xstrdup(str) (strdup(str) ?: (abort(), NULL))
#define xstrdup(str) (strdup(str) ?: (abort(), NULL))
size_t
EnumClockSource
(
vlc_object_t
*
obj
,
char
***
vp
,
char
***
np
)
size_t
EnumClockSource
(
vlc_object_t
*
obj
,
const
char
*
var
,
char
***
vp
,
char
***
np
)
{
{
const
size_t
max
=
6
;
const
size_t
max
=
6
;
char
**
values
=
xmalloc
(
sizeof
(
*
values
)
*
max
);
char
**
values
=
xmalloc
(
sizeof
(
*
values
)
*
max
);
...
@@ -836,7 +837,7 @@ size_t EnumClockSource (vlc_object_t *obj, char ***vp, char ***np)
...
@@ -836,7 +837,7 @@ size_t EnumClockSource (vlc_object_t *obj, char ***vp, char ***np)
*
vp
=
values
;
*
vp
=
values
;
*
np
=
names
;
*
np
=
names
;
(
void
)
obj
;
(
void
)
obj
;
(
void
)
var
;
return
n
;
return
n
;
}
}
...
...
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