Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
88fc2c28
Commit
88fc2c28
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_release(): removes unused exception
parent
b941c1e4
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
17 deletions
+11
-17
activex/plugin.cpp
activex/plugin.cpp
+1
-1
bindings/java/src/core-jni.cc
bindings/java/src/core-jni.cc
+1
-1
bindings/python/vlc_instance.c
bindings/python/vlc_instance.c
+1
-2
include/vlc/libvlc.h
include/vlc/libvlc.h
+1
-1
mozilla/vlcplugin.cpp
mozilla/vlcplugin.cpp
+1
-1
src/control/core.c
src/control/core.c
+1
-1
src/control/event.c
src/control/event.c
+1
-1
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+1
-4
src/control/tag_query.c
src/control/tag_query.c
+1
-1
src/control/testapi.c
src/control/testapi.c
+2
-4
No files found.
activex/plugin.cpp
View file @
88fc2c28
...
...
@@ -667,7 +667,7 @@ HRESULT VLCPlugin::onClose(DWORD dwSaveOption)
_p_libvlc
=
NULL
;
vlcDataObject
->
onClose
();
libvlc_release
(
p_libvlc
,
NULL
);
libvlc_release
(
p_libvlc
);
}
return
S_OK
;
};
...
...
bindings/java/src/core-jni.cc
View file @
88fc2c28
...
...
@@ -81,7 +81,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_JVLC__1destroy (JNIEnv *env, jobje
instance
=
getClassInstance
(
env
,
_this
);
libvlc_release
(
(
libvlc_instance_t
*
)
instance
,
NULL
);
libvlc_release
(
(
libvlc_instance_t
*
)
instance
);
return
;
}
...
...
bindings/python/vlc_instance.c
View file @
88fc2c28
...
...
@@ -111,8 +111,7 @@ vlcInstance_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
static
void
vlcInstance_dealloc
(
PyObject
*
self
)
{
libvlc_exception_t
ex
;
libvlc_release
(
LIBVLC_INSTANCE
->
p_instance
,
&
ex
);
libvlc_release
(
LIBVLC_INSTANCE
->
p_instance
);
PyObject_DEL
(
self
);
}
...
...
include/vlc/libvlc.h
View file @
88fc2c28
...
...
@@ -123,7 +123,7 @@ VLC_PUBLIC_API int libvlc_get_vlc_id( libvlc_instance_t *p_instance );
* if it reaches zero.
* \param p_instance the instance to destroy
*/
VLC_PUBLIC_API
void
libvlc_release
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
void
libvlc_release
(
libvlc_instance_t
*
);
/**
* Increments the reference count of a libvlc instance.
...
...
mozilla/vlcplugin.cpp
View file @
88fc2c28
...
...
@@ -269,7 +269,7 @@ VlcPlugin::~VlcPlugin()
if
(
libvlc_log
)
libvlc_log_close
(
libvlc_log
,
NULL
);
if
(
libvlc_instance
)
libvlc_release
(
libvlc_instance
,
NULL
);
libvlc_release
(
libvlc_instance
);
}
/*****************************************************************************
...
...
src/control/core.c
View file @
88fc2c28
...
...
@@ -146,7 +146,7 @@ void libvlc_retain( libvlc_instance_t *p_instance )
vlc_mutex_unlock
(
&
p_instance
->
instance_lock
);
}
void
libvlc_release
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
void
libvlc_release
(
libvlc_instance_t
*
p_instance
)
{
vlc_mutex_t
*
lock
=
&
p_instance
->
instance_lock
;
int
refs
;
...
...
src/control/event.c
View file @
88fc2c28
...
...
@@ -103,7 +103,7 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
FOREACH_END
()
ARRAY_RESET
(
p_em
->
listeners_groups
);
libvlc_release
(
p_em
->
p_libvlc_instance
,
NULL
);
libvlc_release
(
p_em
->
p_libvlc_instance
);
free
(
p_em
);
}
...
...
src/control/mediacontrol_core.c
View file @
88fc2c28
...
...
@@ -76,10 +76,7 @@ mediacontrol_Instance* mediacontrol_new( int argc, char** argv, mediacontrol_Exc
void
mediacontrol_exit
(
mediacontrol_Instance
*
self
)
{
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_release
(
self
->
p_instance
,
&
ex
);
libvlc_release
(
self
->
p_instance
);
}
libvlc_instance_t
*
...
...
src/control/tag_query.c
View file @
88fc2c28
...
...
@@ -76,7 +76,7 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q )
free
(
p_q
->
tag
);
free
(
p_q
->
psz_tag_key
);
libvlc_release
(
p_q
->
p_libvlc_instance
,
NULL
);
libvlc_release
(
p_q
->
p_libvlc_instance
);
free
(
p_q
);
}
...
...
src/control/testapi.c
View file @
88fc2c28
...
...
@@ -71,10 +71,8 @@ static void test_core (const char ** argv, int argc)
catch
();
libvlc_retain
(
vlc
);
libvlc_release
(
vlc
,
&
ex
);
catch
();
libvlc_release
(
vlc
,
&
ex
);
catch
();
libvlc_release
(
vlc
);
libvlc_release
(
vlc
);
}
static
void
test_media_list
(
const
char
**
argv
,
int
argc
)
...
...
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