[vlc-commits] demux: mp4: exclude subt from metadata refs

Francois Cartegnie git at videolan.org
Wed May 22 17:57:08 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 22 17:55:22 2019 +0200| [0c2fa69df3303106b6ae0f223988c2ab63770919] | committer: Francois Cartegnie

demux: mp4: exclude subt from metadata refs

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

 modules/demux/mp4/mp4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index b3d1bc60bf..8a6fbdbc3b 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -251,7 +251,7 @@ static uint32_t stream_ReadU32( stream_t *s, void *p_read, uint32_t i_toread )
 
 static inline bool MP4_isMetadata(const mp4_track_t *tk)
 {
-    return tk->as_reftype != 0;
+    return tk->as_reftype != 0 && tk->as_reftype != ATOM_subt;
 }
 
 static MP4_Box_t * MP4_GetTrexByTrackID( MP4_Box_t *p_moov, const uint32_t i_id )



More information about the vlc-commits mailing list