[libdvdnav-devel] [Git][videolan/libdvdread][master] ifo_types: fix bogus structure sizes

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Aug 10 19:48:39 UTC 2025



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
eaa62b88 by Steve Lhomme at 2025-08-10T19:48:23+00:00
ifo_types: fix bogus structure sizes

- - - - -


1 changed file:

- src/dvdread/ifo_types.h


Changes:

=====================================
src/dvdread/ifo_types.h
=====================================
@@ -521,7 +521,7 @@ typedef struct {
   uint8_t  menu_prescence_3; /* will be set to 0x01*/
     /* XXX lots of padding after this to complete the sector*/
 } ATTRIBUTE_PACKED amgi_mat_t;
-#define AMGI_MAT_SIZE 335U
+#define AMGI_MAT_SIZE 337U
 
 /* Sector 2 may have video tracks, sector 3 will not. If there are no video tracks the tables will be the same*/
 
@@ -536,7 +536,7 @@ typedef struct {
   uint8_t  title_property; /* in video track this is title number , in audio track this is rank of title*/
   uint32_t ts_pointer_relative_sector; /* for ats or vts*/
 } ATTRIBUTE_PACKED track_info_t;
-#define TRACK_INFO_SIZE 16U
+#define TRACK_INFO_SIZE 14U
 
 typedef struct {
   uint16_t     nr_of_titles;
@@ -821,7 +821,7 @@ typedef struct {
   atsi_record_t atsi_record[ATSI_RECORD_MAX_SIZE];
   uint64_t      downmix_coeff[DOWNMIX_COEFF_MAX_SIZE];
 } ATTRIBUTE_PACKED atsi_mat_t;
-#define ATSI_MAT_SIZE 256U
+#define ATSI_MAT_SIZE 512U
 
 typedef struct {
   uint16_t unknown_1; /* appears to be index, +0x100 for each iter*/



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/eaa62b88f08bffc68b941f3c01938a5567aa30ef

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/eaa62b88f08bffc68b941f3c01938a5567aa30ef
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libdvdnav-devel mailing list