[libdvdnav-devel] [Git][videolan/libdvdread][7.1.x] 2 commits: Preserve the existing Windows DLL export ordinals

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Dec 1 13:57:36 UTC 2026



Jean-Baptiste Kempf pushed to branch 7.1.x at VideoLAN / libdvdread


Commits:
a17f2f80 by Jean-Baptiste Kempf at 2026-12-01T14:57:25+01:00
Preserve the existing Windows DLL export ordinals

- - - - -
45deed1d by Jean-Baptiste Kempf at 2026-12-01T14:57:25+01:00
Prepare release 7.1.2

- - - - -


4 changed files:

- NEWS
- meson.build
- + src/dvdread.def
- src/meson.build


Changes:

=====================================
NEWS
=====================================
@@ -1,3 +1,31 @@
+libdvdread (7.1.2)
+ * Support hybrid DVD-Audio/Video discs whose audio title sets play a video
+   title set's VOBs, selecting CSS or CPPM decryption per file
+ * DVD-Audio improvements:
+     * Read the audio manager menu, text data language units and still picture NAV
+     * Decode the correct title table offsets and downmix table stride
+     * Fix IFO backup fallback and restrict DVD-Audio file requests to DVD-Audio discs
+ * UDF fixes:
+     * Fix failure for discs storing the file system descriptor at the end
+       of the disc (like images created by CDBurnerXP)
+     * Use the backup volume descriptor sequence when the main one is unusable
+     * Don't hide read errors and fix bogus error return values in lookup
+ * Allow reading a protected and an unprotected DVD at the same time
+ * Fix seeking beyond 2 GiB with the stream callbacks where off_t is 32-bit
+ * Fix a potential crash when libdvdcss is absent and opening DVD-Audio or DVD-VR
+ * Fix potential stack buffer overflows when composing paths from long directories
+ * Fix DVDDiscID returning success on invalid arguments
+ * Harden the IFO parsing against malformed sizes (OOB, unaligned reads, underflows)
+ * Fix leaks on the ifoRead_TT error paths
+ * Declare ifoFree_UD_PGCIT in the public header
+ * Rewrite the byte swapping helpers around the compiler builtins
+ * Improve the Windows builds: fix recent MSVC compilation, extend warning checks,
+   drop obsolete compatibility shims
+ * Fix the WebAssembly build and add it to CI
+ * Verify at build time that file offsets are 64-bit
+ * Document the number of bytes read by navRead_PCI/navRead_ASV_PCI/navRead_DSI
+ * Misc code cleanups and warning fixes
+
 libdvdread (7.1.1)
  * reduce the number of symbols exported to avoid conflicts when linking
  * improve CI coverage


=====================================
meson.build
=====================================
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: MIT
 
 project('libdvdread', 'c',
-    version: '7.1.1',
+    version: '7.1.2',
     meson_version: '>= 0.60.0',
     default_options: ['buildtype=debugoptimized',
                       'c_std=c11',


=====================================
src/dvdread.def
=====================================
@@ -0,0 +1,3 @@
+EXPORTS
+    ifoFree_UD_PGCIT @77
+    navRead_ASV_PCI @78


=====================================
src/meson.build
=====================================
@@ -32,6 +32,12 @@ else
     api_export_flags = ['-DDVDREAD_API_EXPORT']
 endif
 
+# Keep the existing DLL export ordinals when adding the still-picture reader.
+windows_exports = {}
+if host_machine.system() == 'windows' and get_option('default_library') != 'static'
+    windows_exports = {'vs_module_defs': 'dvdread.def'}
+endif
+
 # The final libdvdread library
 libdvdread = library('dvdread', dvdread_src,
     include_directories: dvdread_inc_dirs,
@@ -43,6 +49,7 @@ libdvdread = library('dvdread', dvdread_src,
     gnu_symbol_visibility: 'hidden',
     version: dvdread_soname_version,
     install: true,
+    kwargs: windows_exports,
 )
 
 # Make the library usable as a dependency in this and other projects



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/c816c1937a89efaf64b9b915ac247c92d03d4f0c...45deed1d7fe0a8b8b0a8a235cd732da861a3c0a5

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/c816c1937a89efaf64b9b915ac247c92d03d4f0c...45deed1d7fe0a8b8b0a8a235cd732da861a3c0a5
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the libdvdnav-devel mailing list