Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6eaf97c2
Commit
6eaf97c2
authored
Oct 11, 2015
by
Ricardo Constantino
Committed by
Clément Bœsch
Oct 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/webvttdec: Don't stop parsing on comments
Signed-off-by:
Ricardo Constantino
<
wiiaboo@gmail.com
>
parent
a96dbdc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
webvttdec.c
libavformat/webvttdec.c
+2
-1
sub-webvtt2
tests/ref/fate/sub-webvtt2
+1
-0
No files found.
libavformat/webvttdec.c
View file @
6eaf97c2
...
...
@@ -92,7 +92,8 @@ static int webvtt_read_header(AVFormatContext *s)
/* ignore header chunk */
if
(
!
strncmp
(
p
,
"
\xEF\xBB\xBF
WEBVTT"
,
9
)
||
!
strncmp
(
p
,
"WEBVTT"
,
6
))
!
strncmp
(
p
,
"WEBVTT"
,
6
)
||
!
strncmp
(
p
,
"NOTE"
,
4
))
continue
;
/* optional cue identifier (can be a number like in SRT or some kind of
...
...
tests/ref/fate/sub-webvtt2
View file @
6eaf97c2
...
...
@@ -21,3 +21,4 @@ Dialogue: 0,0:00:43.00,0:00:46.00,Default,,0,0,0,,{\i1}キツネ{\i0}じゃな
Dialogue: 0,0:00:50.00,0:00:55.00,Default,,0,0,0,,Some time ago in a rather distant place....
Dialogue: 0,0:00:55.00,0:01:00.00,Default,,0,0,0,,Descending: 123456\NAscending: 123456
Dialogue: 0,0:01:00.00,0:01:05.00,Default,,0,0,0,,>> Never gonna give you up Never gonna let you down\NNever\hgonna\hrun\haround & desert\hyou
Dialogue: 0,0:55:00.00,1:00:00.00,Default,,0,0,0,,Transcrit par Célestes™
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