Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-ui-redesign
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
9f7f6743
Commit
9f7f6743
authored
May 15, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: vlm: inline one function
parent
8f67aeff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
lib/vlm.c
lib/vlm.c
+2
-7
No files found.
lib/vlm.c
View file @
9f7f6743
...
...
@@ -101,7 +101,7 @@ static int VlmEvent( vlc_object_t *p_this, const char * name,
return
0
;
}
static
void
libvlc_vlm_release_internal
(
libvlc_instance_t
*
p_instance
)
void
libvlc_vlm_release
(
libvlc_instance_t
*
p_instance
)
{
vlm_t
*
p_vlm
=
p_instance
->
libvlc_vlm
.
p_vlm
;
if
(
!
p_instance
->
libvlc_vlm
.
p_vlm
)
...
...
@@ -141,18 +141,13 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance )
var_AddCallback
(
(
vlc_object_t
*
)
p_instance
->
libvlc_vlm
.
p_vlm
,
"intf-event"
,
VlmEvent
,
p_instance
->
libvlc_vlm
.
p_event_manager
);
p_instance
->
libvlc_vlm
.
pf_release
=
libvlc_vlm_release
_internal
;
p_instance
->
libvlc_vlm
.
pf_release
=
libvlc_vlm_release
;
libvlc_retain
(
p_instance
);
}
return
VLC_SUCCESS
;
}
void
libvlc_vlm_release
(
libvlc_instance_t
*
p_instance
)
{
libvlc_vlm_release_internal
(
p_instance
);
}
#define VLM_RET(p,ret) do { \
if( libvlc_vlm_init( p_instance ) ) \
return (ret); \
...
...
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