]> git.sesse.net Git - vlc/blobdiff - include/vlc_demux.h
Tag some APIs as LIBVLC_USED
[vlc] / include / vlc_demux.h
index 2d8e1c056be8f0057fa0b8a5b9719481e4a8a0e2..15702cc669abe42b51a9110aae892dfb2c361568 100644 (file)
@@ -157,6 +157,7 @@ VLC_EXPORT( int,       demux_vaControlHelper, ( stream_t *, int64_t i_start, int
  * Miscellaneous helpers for demuxers
  *************************************************************************/
 
+LIBVLC_USED
 static inline bool demux_IsPathExtension( demux_t *p_demux, const char *psz_extension )
 {
     const char *psz_ext = strrchr ( p_demux->psz_path, '.' );
@@ -165,6 +166,7 @@ static inline bool demux_IsPathExtension( demux_t *p_demux, const char *psz_exte
     return true;
 }
 
+LIBVLC_USED
 static inline bool demux_IsForced( demux_t *p_demux, const char *psz_name )
 {
    if( !p_demux->psz_demux || strcmp( p_demux->psz_demux, psz_name ) )