[vlc-devel] [PATCH 10/20] input: hide input_CreateFilename

Thomas Guillem thomas at gllm.fr
Fri May 31 15:59:36 CEST 2019


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

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 15695533d2..de1135dfb4 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -578,12 +578,5 @@ VLC_API void input_SetPosition( input_thread_t *, float f_position, bool b_fast
  */
 VLC_API input_item_t* input_GetItem( input_thread_t * ) VLC_USED;
 
-/**
- * This function creates a sane filename path.
- */
-VLC_API char * input_CreateFilename( input_thread_t *, input_item_t *,
-                                     const char *psz_path, const char *psz_prefix,
-                                     const char *psz_extension ) VLC_USED;
-
 /** @} */
 #endif
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index cde2f1fa58..cdf70b7d04 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -298,6 +298,13 @@ int input_GetAttachments(input_thread_t *input, input_attachment_t ***attachment
 
 input_attachment_t *input_GetAttachment(input_thread_t *input, const char *name);
 
+/**
+ * This function creates a sane filename path.
+ */
+char * input_CreateFilename( input_thread_t *, input_item_t *,
+                             const char *psz_path, const char *psz_prefix,
+                             const char *psz_extension ) VLC_USED;
+
 /* Bound pts_delay */
 #define INPUT_PTS_DELAY_MAX VLC_TICK_FROM_SEC(60)
 
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 82bcb939ae..93c77970e2 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -160,7 +160,6 @@ image_Mime2Fourcc
 image_Type2Fourcc
 InitMD5
 input_Create
-input_CreateFilename
 input_CreatePreparser
 input_CreateThumbnailer
 input_DecoderCreate
-- 
2.20.1



More information about the vlc-devel mailing list