[vlc-commits] demux: mp4: pack sidx items

Francois Cartegnie git at videolan.org
Tue Apr 30 14:28:03 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 26 09:56:40 2019 +0200| [9c2672fa45d30e0ad8f7b11667726456362d103d] | committer: Francois Cartegnie

demux: mp4: pack sidx items

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

 modules/demux/mp4/libmp4.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index f2d23eefd8..5b8b75fcaa 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -1142,10 +1142,10 @@ typedef struct MP4_Box_data_mfhd_s
 
 typedef struct MP4_Box_sidx_item_s
 {
-    bool     b_reference_type;
     uint32_t i_referenced_size;
     uint32_t i_subsegment_duration;
-    bool     b_starts_with_SAP;
+    uint8_t  b_reference_type;
+    uint8_t  b_starts_with_SAP;
     uint8_t  i_SAP_type;
     uint32_t i_SAP_delta_time;
 



More information about the vlc-commits mailing list