[vlc-commits] demux: libmp4: add missing parenting in BoxAddChild

Francois Cartegnie git at videolan.org
Wed Sep 9 11:46:28 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Sep  7 23:29:01 2015 +0200| [21426e83fde3263dfb3aa6290069b5d56765efc3] | committer: Francois Cartegnie

demux: libmp4: add missing parenting in BoxAddChild

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21426e83fde3263dfb3aa6290069b5d56765efc3
---

 modules/demux/mp4/libmp4.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 956cda0..92a08d9 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -103,6 +103,7 @@ static void MP4_BoxAddChild( MP4_Box_t *p_parent, MP4_Box_t *p_childbox )
     else
             p_parent->p_last->p_next = p_childbox;
     p_parent->p_last = p_childbox;
+    p_childbox->p_father = p_parent;
 }
 
 /* Don't use stream_Seek directly */



More information about the vlc-commits mailing list