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
01c0a6aa
Commit
01c0a6aa
authored
Mar 16, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sub: better ssa4 recognition.
parent
834ad806
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/demux/util/sub.c
modules/demux/util/sub.c
+6
-3
No files found.
modules/demux/util/sub.c
View file @
01c0a6aa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* sub.c
* sub.c
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: sub.c,v 1.
9 2003/03/16 16:07:21
fenrir Exp $
* $Id: sub.c,v 1.
10 2003/03/16 23:35:39
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -351,8 +351,11 @@ static int sub_open ( subtitle_demux_t *p_sub,
...
@@ -351,8 +351,11 @@ static int sub_open ( subtitle_demux_t *p_sub,
}
}
break
;
break
;
}
}
else
if
(
!
strcmp
(
s
,
else
if
(
strstr
(
s
,
"This is a Sub Station Alpha v4 script"
)
)
"Dialogue: Marked"
)
)
{
i_sub_type
=
SUB_TYPE_SSA2_4
;
// I hop this will work
}
else
if
(
!
strncmp
(
s
,
"Dialogue: Marked"
,
16
)
)
{
{
i_sub_type
=
SUB_TYPE_SSA2_4
;
// could be wrong
i_sub_type
=
SUB_TYPE_SSA2_4
;
// could be wrong
break
;
break
;
...
...
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