vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Dec 26 18:59:44 2017 +0100| [2e0012ede7e254e59d172d907f909d815ab69a2e] | committer: Francois Cartegnie
codec: webvtt: fix reparenting on closing tag > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e0012ede7e254e59d172d907f909d815ab69a2e --- modules/codec/webvtt/subsvtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/webvtt/subsvtt.c b/modules/codec/webvtt/subsvtt.c index 8b6368d40f..cc5d7a99f5 100644 --- a/modules/codec/webvtt/subsvtt.c +++ b/modules/codec/webvtt/subsvtt.c @@ -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 */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
