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
0b55c9c5
Commit
0b55c9c5
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning
parent
07c3e97d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/libvlc-common.c
src/libvlc-common.c
+2
-7
No files found.
src/libvlc-common.c
View file @
0b55c9c5
...
...
@@ -98,7 +98,7 @@
* The evil global variable. We handle it with care, don't worry.
*****************************************************************************/
static
libvlc_global_data_t
libvlc_global
;
#define p_libvlc_global (&libvlc_global)
static
libvlc_global_data_t
*
p_libvlc_global
=
&
libvlc_global
;
static
libvlc_int_t
*
p_static_vlc
=
NULL
;
static
volatile
unsigned
int
i_instances
=
0
;
...
...
@@ -139,12 +139,7 @@ libvlc_global_data_t *vlc_global( void )
*****************************************************************************/
libvlc_int_t
*
vlc_current_object
(
int
i_object
)
{
if
(
i_object
)
{
return
vlc_object_get
(
p_libvlc_global
,
i_object
);
}
return
p_static_vlc
;
return
i_object
?
vlc_object_get
(
i_object
)
:
p_static_vlc
;
}
...
...
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