[vlc-commits] libvlc: do not export libvlc_module_description_list_get but only the functions
Rémi Duraffort
git at videolan.org
Sat Jun 4 20:23:57 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jun 4 19:57:57 2011 +0200| [04d158efbb77ccd35de9cd8fd48755078c911bd9] | committer: Rémi Duraffort
libvlc: do not export libvlc_module_description_list_get but only the functions
restricted to the audio and video filters.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04d158efbb77ccd35de9cd8fd48755078c911bd9
---
include/vlc/libvlc.h | 2 --
src/control/core.c | 7 ++++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index 32bd683..bcf9bdc 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -409,8 +409,6 @@ typedef struct libvlc_module_description_t
struct libvlc_module_description_t *p_next;
} libvlc_module_description_t;
-libvlc_module_description_t *libvlc_module_description_list_get( libvlc_instance_t *p_instance, const char *capability );
-
/**
* Release a list of module descriptions.
*
diff --git a/src/control/core.c b/src/control/core.c
index 2fb4084..d5836be 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -166,7 +166,8 @@ void libvlc_free( void *ptr )
free( ptr );
}
-libvlc_module_description_t *libvlc_module_description_list_get( libvlc_instance_t *p_instance, const char *capability )
+static libvlc_module_description_t *module_description_list_get(
+ libvlc_instance_t *p_instance, const char *capability )
{
VLC_UNUSED( p_instance );
libvlc_module_description_t *p_list = NULL,
@@ -231,12 +232,12 @@ void libvlc_module_description_list_release( libvlc_module_description_t *p_list
libvlc_module_description_t *libvlc_audio_filter_list_get( libvlc_instance_t *p_instance )
{
- return libvlc_module_description_list_get( p_instance, "audio filter" );
+ return module_description_list_get( p_instance, "audio filter" );
}
libvlc_module_description_t *libvlc_video_filter_list_get( libvlc_instance_t *p_instance )
{
- return libvlc_module_description_list_get( p_instance, "video filter2" );
+ return module_description_list_get( p_instance, "video filter2" );
}
int64_t libvlc_clock(void)
More information about the vlc-commits
mailing list