mtime_t input_ClockGetTS( input_thread_t *, input_clock_t *, mtime_t );
/* Subtitles */
-char **subtitles_Detect( input_thread_t *, char* path, char *fname );
+char **subtitles_Detect( input_thread_t *, char* path, const char *fname );
int subtitles_Filter( const char *);
void MRLSplit( vlc_object_t *, char *, const char **, const char **, char ** );
/**
* Convert a list of paths separated by ',' to a char**
*/
-static char **paths_to_list( char *psz_dir, char *psz_path )
+static char **paths_to_list( const char *psz_dir, char *psz_path )
{
unsigned int i, k, i_nb_subdirs;
char **subdirs; /* list of subdirectories to look in */
* The array contains max MAX_SUBTITLE_FILES items and you need to free it after use.
*/
char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
- char *psz_name )
+ const char *psz_name )
{
vlc_value_t fuzzy;
int j, i_result2, i_sub_count = 0, i_fname_len = 0;