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
518dc329
Commit
518dc329
authored
May 25, 2009
by
JP Dinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix on windows: vlc_mutex_init() now returns void (corrected).
parent
b9646f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
include/vlc_gcrypt.h
include/vlc_gcrypt.h
+3
-8
No files found.
include/vlc_gcrypt.h
View file @
518dc329
...
@@ -38,18 +38,13 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
...
@@ -38,18 +38,13 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
static
int
gcry_vlc_mutex_init
(
void
**
p_sys
)
static
int
gcry_vlc_mutex_init
(
void
**
p_sys
)
{
{
int
i_val
;
vlc_mutex_t
*
p_lock
=
(
vlc_mutex_t
*
)
malloc
(
sizeof
(
vlc_mutex_t
)
);
vlc_mutex_t
*
p_lock
=
(
vlc_mutex_t
*
)
malloc
(
sizeof
(
vlc_mutex_t
)
);
if
(
p_lock
==
NULL
)
if
(
p_lock
==
NULL
)
return
ENOMEM
;
return
ENOMEM
;
i_val
=
vlc_mutex_init
(
p_lock
);
vlc_mutex_init
(
p_lock
);
if
(
i_val
)
*
p_sys
=
p_lock
;
free
(
p_lock
);
return
VLC_SUCCESS
;
else
*
p_sys
=
p_lock
;
return
i_val
;
}
}
static
int
gcry_vlc_mutex_destroy
(
void
**
p_sys
)
static
int
gcry_vlc_mutex_destroy
(
void
**
p_sys
)
...
...
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