[vlc-commits] ttml demux: MergeNodeWithParent: Constify iterator
Hugo Beauzée-Luyssen
git at videolan.org
Thu Sep 15 11:36:10 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 15 10:27:00 2016 +0200| [a7010fd9557236261158a21029b8495467756797] | committer: Hugo Beauzée-Luyssen
ttml demux: MergeNodeWithParent: Constify iterator
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7010fd9557236261158a21029b8495467756797
---
modules/demux/ttml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ttml.c b/modules/demux/ttml.c
index af71c2b..39b7eb4 100644
--- a/modules/demux/ttml.c
+++ b/modules/demux/ttml.c
@@ -265,7 +265,7 @@ static int MergeStyles(char** pp_dest, char* p_src)
static int MergeNodeWithParents( node_t* p_node )
{
- node_t *parent = p_node->p_parent;
+ const node_t *parent = p_node->p_parent;
while( parent != NULL)
{
if( MergeAttrDict( &p_node->attr_dict, &parent->attr_dict ) != VLC_SUCCESS ||
More information about the vlc-commits
mailing list