Commit 21426e83 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: libmp4: add missing parenting in BoxAddChild

parent 482a404f
...@@ -103,6 +103,7 @@ static void MP4_BoxAddChild( MP4_Box_t *p_parent, MP4_Box_t *p_childbox ) ...@@ -103,6 +103,7 @@ static void MP4_BoxAddChild( MP4_Box_t *p_parent, MP4_Box_t *p_childbox )
else else
p_parent->p_last->p_next = p_childbox; p_parent->p_last->p_next = p_childbox;
p_parent->p_last = p_childbox; p_parent->p_last = p_childbox;
p_childbox->p_father = p_parent;
} }
/* Don't use stream_Seek directly */ /* Don't use stream_Seek directly */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment