Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
abbeb91f
Commit
abbeb91f
authored
Apr 10, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subtitles: Cosmetics.
parent
8748391f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/input/subtitles.c
src/input/subtitles.c
+2
-4
No files found.
src/input/subtitles.c
View file @
abbeb91f
...
@@ -326,16 +326,14 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
...
@@ -326,16 +326,14 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
char
tmp_fname_noext
[
strlen
(
psz_name
)
+
1
];
char
tmp_fname_noext
[
strlen
(
psz_name
)
+
1
];
char
tmp_fname_trim
[
strlen
(
psz_name
)
+
1
];
char
tmp_fname_trim
[
strlen
(
psz_name
)
+
1
];
char
tmp_fname_ext
[
strlen
(
psz_name
)
+
1
];
char
tmp_fname_ext
[
strlen
(
psz_name
)
+
1
];
char
*
tmp
;
const
char
*
tmp
;
int
i_prio
=
SUB_PRIORITY_NONE
;
int
i_prio
;
/* retrieve various parts of the filename */
/* retrieve various parts of the filename */
strcpy_strip_ext
(
tmp_fname_noext
,
psz_name
);
strcpy_strip_ext
(
tmp_fname_noext
,
psz_name
);
strcpy_get_ext
(
tmp_fname_ext
,
psz_name
);
strcpy_get_ext
(
tmp_fname_ext
,
psz_name
);
strcpy_trim
(
tmp_fname_trim
,
tmp_fname_noext
);
strcpy_trim
(
tmp_fname_trim
,
tmp_fname_noext
);
i_prio
=
SUB_PRIORITY_NONE
;
if
(
!
strcmp
(
tmp_fname_trim
,
f_fname_trim
)
)
if
(
!
strcmp
(
tmp_fname_trim
,
f_fname_trim
)
)
{
{
/* matches the movie name exactly */
/* matches the movie name exactly */
...
...
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