[vlc-commits] input: remove unused input_resource_Terminate() function
Thomas Guillem
git at videolan.org
Fri Jun 28 09:11:08 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jun 27 10:07:36 2019 +0200| [88e9f04f1d1fe524bbee32a6f31ec6be0a175fa1] | committer: Thomas Guillem
input: remove unused input_resource_Terminate() function
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88e9f04f1d1fe524bbee32a6f31ec6be0a175fa1
---
include/vlc_decoder.h | 5 -----
src/input/resource.c | 8 --------
src/input/resource.h | 5 -----
src/libvlccore.sym | 1 -
4 files changed, 19 deletions(-)
diff --git a/include/vlc_decoder.h b/include/vlc_decoder.h
index 8095fcc760..992ada9687 100644
--- a/include/vlc_decoder.h
+++ b/include/vlc_decoder.h
@@ -65,11 +65,6 @@ VLC_API void input_resource_Release( input_resource_t * );
VLC_API void input_resource_TerminateVout( input_resource_t * );
/**
- * This function releases all resources (object).
- */
-VLC_API void input_resource_Terminate( input_resource_t * );
-
-/**
* \return the current audio output if any.
* Use aout_Release() to drop the reference.
*/
diff --git a/src/input/resource.c b/src/input/resource.c
index 85fdee813f..bdfe3cd90c 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -546,11 +546,3 @@ void input_resource_TerminateSout( input_resource_t *p_resource )
{
input_resource_RequestSout( p_resource, NULL, NULL );
}
-
-void input_resource_Terminate( input_resource_t *p_resource )
-{
- input_resource_TerminateSout( p_resource );
- input_resource_ResetAout( p_resource );
- input_resource_TerminateVout( p_resource );
-}
-
diff --git a/src/input/resource.h b/src/input/resource.h
index 1d81a8c97e..a13ca0dc85 100644
--- a/src/input/resource.h
+++ b/src/input/resource.h
@@ -61,11 +61,6 @@ vout_thread_t *input_resource_HoldDummyVout( input_resource_t * );
*/
void input_resource_HoldVouts( input_resource_t *, vout_thread_t ***, size_t * );
-/**
- * This function releases all resources (object).
- */
-void input_resource_Terminate( input_resource_t * );
-
void input_resource_StopFreeVout( input_resource_t * );
/**
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index d400322d33..f5d2a866db 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -209,7 +209,6 @@ input_item_parser_id_Release
input_resource_New
input_resource_Release
input_resource_TerminateVout
-input_resource_Terminate
input_resource_GetAout
input_resource_HoldAout
input_resource_PutAout
More information about the vlc-commits
mailing list