[vlc-commits] demux: mp4: parent track refs

Francois Cartegnie git at videolan.org
Thu Jul 12 20:21:31 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 12 19:24:15 2018 +0200| [e6323272bf59b443b14806214214cfbf78bf6157] | committer: Francois Cartegnie

demux: mp4: parent track refs

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

 modules/demux/mp4/libmp4.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 2ae02f7657..301a33ddbf 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -4958,13 +4958,14 @@ static const struct
     { ATOM_mp4s,    MP4_ReadBox_sample_mp4s,  ATOM_stsd },
 
     /* XXX there is 2 box where we could find this entry stbl and tref*/
-    { ATOM_hint,    MP4_ReadBox_default,      0 },
+    { ATOM_hint,    MP4_ReadBox_default,      ATOM_tref },
+    { ATOM_hint,    MP4_ReadBox_default,      ATOM_stbl },
 
     /* found in tref box */
-    { ATOM_dpnd,    MP4_ReadBox_default,      0 },
-    { ATOM_ipir,    MP4_ReadBox_default,      0 },
-    { ATOM_mpod,    MP4_ReadBox_default,      0 },
-    { ATOM_chap,    MP4_ReadBox_tref_generic, 0 },
+    { ATOM_dpnd,    MP4_ReadBox_default,      ATOM_tref },
+    { ATOM_ipir,    MP4_ReadBox_default,      ATOM_tref },
+    { ATOM_mpod,    MP4_ReadBox_default,      ATOM_tref },
+    { ATOM_chap,    MP4_ReadBox_tref_generic, ATOM_tref },
 
     /* found in hnti */
     { ATOM_rtp,     MP4_ReadBox_rtp,          ATOM_hnti },



More information about the vlc-commits mailing list