[vlc-commits] Privatize input_SplitMRL()

Rémi Denis-Courmont git at videolan.org
Sun Sep 25 16:04:12 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 25 15:56:07 2011 +0300| [453764f6d16e7795e98278f4fe7bb446b787a33e] | committer: Rémi Denis-Courmont

Privatize input_SplitMRL()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=453764f6d16e7795e98278f4fe7bb446b787a33e
---

 include/vlc_input.h        |    9 ---------
 src/input/input_internal.h |    3 +++
 src/libvlccore.sym         |    1 -
 3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index e30bbbb..428df83 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -644,15 +644,6 @@ VLC_API void input_DecoderDelete( decoder_t * );
 VLC_API void input_DecoderDecode( decoder_t *, block_t *, bool b_do_pace );
 
 /**
- * This function allows to split a MRL into access, demux and path part.
- *
- *  You should not write into access and demux string as they may not point into
- * the provided buffer.
- *  The buffer provided by psz_dup will be modified.
- */
-VLC_API void input_SplitMRL( const char **ppsz_access, const char **ppsz_demux, char **ppsz_path, char *psz_dup );
-
-/**
  * This function creates a sane filename path.
  */
 VLC_API char * input_CreateFilename( vlc_object_t *, const char *psz_path, const char *psz_prefix, const char *psz_extension ) VLC_USED;
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index fc787cd..ab5b784 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -243,4 +243,7 @@ void input_ConfigVarInit ( input_thread_t * );
 char **subtitles_Detect( input_thread_t *, char* path, const char *fname );
 int subtitles_Filter( const char *);
 
+/* input.c */
+void input_SplitMRL( const char **, const char **, char **, char * );
+
 #endif
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 672bb53..b8b058f 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -227,7 +227,6 @@ input_resource_New
 input_resource_Release
 input_resource_TerminateVout
 input_resource_Terminate
-input_SplitMRL
 input_Start
 input_Stop
 input_vaControl



More information about the vlc-commits mailing list