Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6b51f707
Commit
6b51f707
authored
Sep 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove system_End() except on Windows, simplify
parent
6884e6dc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
27 deletions
+6
-27
src/libvlc.c
src/libvlc.c
+3
-9
src/libvlc.h
src/libvlc.h
+3
-2
src/os2/specific.c
src/os2/specific.c
+0
-4
src/posix/darwin_specific.c
src/posix/darwin_specific.c
+0
-8
src/posix/specific.c
src/posix/specific.c
+0
-4
No files found.
src/libvlc.c
View file @
6b51f707
...
...
@@ -357,7 +357,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
{
msg_Err
(
p_libvlc
,
"D-Bus problem"
);
free
(
psz_mrl
);
system_End
(
);
exit
(
1
);
}
...
...
@@ -368,7 +367,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
{
dbus_message_unref
(
p_dbus_msg
);
free
(
psz_mrl
);
system_End
(
);
exit
(
1
);
}
free
(
psz_mrl
);
...
...
@@ -377,7 +375,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
DBUS_TYPE_OBJECT_PATH
,
&
psz_after_track
)
)
{
dbus_message_unref
(
p_dbus_msg
);
system_End
(
);
exit
(
1
);
}
...
...
@@ -389,7 +386,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
DBUS_TYPE_BOOLEAN
,
&
b_play
)
)
{
dbus_message_unref
(
p_dbus_msg
);
system_End
(
);
exit
(
1
);
}
...
...
@@ -399,7 +395,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
{
msg_Err
(
p_libvlc
,
"D-Bus problem"
);
dbus_message_unref
(
p_dbus_msg
);
system_End
(
);
exit
(
1
);
}
...
...
@@ -407,7 +402,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
{
msg_Err
(
p_libvlc
,
"D-Bus problem"
);
dbus_message_unref
(
p_dbus_msg
);
system_End
(
);
exit
(
1
);
}
dbus_connection_flush
(
p_conn
);
...
...
@@ -418,7 +412,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
}
/* processes all command line MRLs */
/* bye bye */
system_End
(
);
exit
(
0
);
}
}
...
...
@@ -715,6 +708,9 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
module_EndBank
(
true
);
vlc_DeinitActions
(
p_libvlc
,
priv
->
actions
);
#ifdef WIN32
system_End
(
);
#endif
}
/**
...
...
@@ -728,8 +724,6 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc )
{
libvlc_priv_t
*
priv
=
libvlc_priv
(
p_libvlc
);
system_End
(
);
/* Destroy mutexes */
vlc_ExitDestroy
(
&
priv
->
exit
);
vlc_mutex_destroy
(
&
priv
->
ml_lock
);
...
...
src/libvlc.h
View file @
6b51f707
...
...
@@ -41,8 +41,9 @@ size_t vlc_towc (const char *str, uint32_t *restrict pwc);
*/
void
system_Init
(
void
);
void
system_Configure
(
libvlc_int_t
*
,
int
,
const
char
*
const
[]
);
void
system_End
(
void
);
#ifdef WIN32
void
system_End
(
void
);
#endif
void
vlc_CPU_init
(
void
);
void
vlc_CPU_dump
(
vlc_object_t
*
);
...
...
src/os2/specific.c
View file @
6b51f707
...
...
@@ -52,7 +52,3 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
}
}
}
void
system_End
(
void
)
{
}
src/posix/darwin_specific.c
View file @
6b51f707
...
...
@@ -83,11 +83,3 @@ void system_Configure( libvlc_int_t *p_this,
(
void
)
i_argc
;
(
void
)
ppsz_argv
;
}
/*****************************************************************************
* system_End: free the program path.
*****************************************************************************/
void
system_End
(
void
)
{
}
src/posix/specific.c
View file @
6b51f707
...
...
@@ -34,7 +34,3 @@ void system_Configure (libvlc_int_t *libvlc,
{
(
void
)
libvlc
;
(
void
)
argc
;
(
void
)
argv
;
}
void
system_End
(
void
)
{
}
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