mirror of
https://github.com/videolan/vlc.git
synced 2025-01-26 17:45:46 +08:00
Some const
This commit is contained in:
parent
5fd7f4679e
commit
65b7318b10
@ -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 ** );
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user