[vlc-devel] [PATCH 6/6] lib: media_track: hide internal function

Thomas Guillem thomas at gllm.fr
Mon Jun 15 23:10:07 CEST 2020


---
 lib/media_internal.h | 4 ----
 lib/media_track.c    | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/lib/media_internal.h b/lib/media_internal.h
index 5f43a2b3de4..e4d0d03faec 100644
--- a/lib/media_internal.h
+++ b/lib/media_internal.h
@@ -97,10 +97,6 @@ void
 libvlc_media_trackpriv_from_es( libvlc_media_trackpriv_t *trackpriv,
                                 const es_format_t *es  );
 
-void
-libvlc_media_trackpriv_from_player_track( libvlc_media_trackpriv_t *trackpriv,
-                                          const struct vlc_player_track *track );
-
 libvlc_media_track_t *
 libvlc_media_track_create_from_player_track( const struct vlc_player_track *track );
 
diff --git a/lib/media_track.c b/lib/media_track.c
index bca82f384b6..a11c2973c65 100644
--- a/lib/media_track.c
+++ b/lib/media_track.c
@@ -222,7 +222,7 @@ libvlc_media_tracklist_from_es_array( es_format_t **es_array,
     return list;
 }
 
-void
+static void
 libvlc_media_trackpriv_from_player_track( libvlc_media_trackpriv_t *trackpriv,
                                           const struct vlc_player_track *track )
 {
-- 
2.20.1



More information about the vlc-devel mailing list