Some const

This commit is contained in:
Rémi Denis-Courmont 2006-11-12 11:54:28 +00:00
parent 5fd7f4679e
commit 65b7318b10
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ void input_ClockSetPCR( input_thread_t *, input_clock_t *, mtime_t );
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 ** );

View File

@ -175,7 +175,7 @@ int subtitles_Filter( const char *psz_dir_content )
/**
* 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 */
@ -256,7 +256,7 @@ static char **paths_to_list( char *psz_dir, char *psz_path )
* 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;