Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
65b7318b
Commit
65b7318b
authored
Nov 12, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some const
parent
5fd7f467
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/input/input_internal.h
src/input/input_internal.h
+1
-1
src/input/subtitles.c
src/input/subtitles.c
+2
-2
No files found.
src/input/input_internal.h
View file @
65b7318b
...
...
@@ -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
,
c
onst
c
har
*
fname
);
int
subtitles_Filter
(
const
char
*
);
void
MRLSplit
(
vlc_object_t
*
,
char
*
,
const
char
**
,
const
char
**
,
char
**
);
...
...
src/input/subtitles.c
View file @
65b7318b
...
...
@@ -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
(
c
onst
c
har
*
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
)
c
onst
c
har
*
psz_name
)
{
vlc_value_t
fuzzy
;
int
j
,
i_result2
,
i_sub_count
=
0
,
i_fname_len
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment