Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
Steve Lhomme
VLC
Commits
2e0012ed
Commit
2e0012ed
authored
Dec 26, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec: webvtt: fix reparenting on closing tag
parent
f0a4dd5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/codec/webvtt/subsvtt.c
modules/codec/webvtt/subsvtt.c
+1
-1
No files found.
modules/codec/webvtt/subsvtt.c
View file @
2e0012ed
...
...
@@ -1160,7 +1160,7 @@ static webvtt_dom_node_t * CreateDomNodes( const char *psz_text, unsigned *pi_li
/* Close at matched parent node level due to unclosed tags
* like <b><v stuff>foo</b> */
p_parent
=
webvtt_domnode_getParentByTag
(
p_parent
->
p_parent
,
psz_tagname
);
p_parent
=
webvtt_domnode_getParentByTag
(
p_parent
,
psz_tagname
);
if
(
p_parent
)
/* continue as parent next */
pp_append
=
&
p_parent
->
p_next
;
else
/* back as top node */
...
...
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