[libdvdnav-devel] [Git][videolan/libdvdread][master] 2 commits: logger: do not export an internal function
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed Dec 2 18:46:42 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread
Commits:
8998bb8a by Steve Lhomme at 2026-12-02T19:33:31+01:00
logger: do not export an internal function
This breaks the Windows ABI as the DLL was exporting in 7.1.0.
- - - - -
bd6670b1 by Steve Lhomme at 2026-12-02T19:33:31+01:00
do not repeat DVDREAD_API in C file
It's only needed in the public declaration.
- - - - -
2 changed files:
- src/ifo_read.c
- src/logger.h
Changes:
=====================================
src/ifo_read.c
=====================================
@@ -766,7 +766,7 @@ void ifoFree_TT(ifo_handle_t *ifofile){
}
}
-DVDREAD_API void ifoFree_PGC_GI(ifo_handle_t *ifofile) {
+void ifoFree_PGC_GI(ifo_handle_t *ifofile) {
if(!ifofile || !ifofile->pgc_gi)
return;
@@ -780,7 +780,7 @@ DVDREAD_API void ifoFree_PGC_GI(ifo_handle_t *ifofile) {
ifofile->pgc_gi= NULL;
}
-DVDREAD_API void ifoFree_UD_PGCIT(ifo_handle_t *ifofile) {
+void ifoFree_UD_PGCIT(ifo_handle_t *ifofile) {
for ( int j = 0; j < ifofile->ud_pgcit->total_nr_of_programs ; j++ ) {
if(ifofile->ud_pgcit->m_c_gi[j].c_epi_n > 0)
free(ifofile->ud_pgcit->m_c_gi[j].m_c_epi);
=====================================
src/logger.h
=====================================
@@ -21,7 +21,7 @@
#include "dvdread/attributes.h"
-DVDREAD_API void DVDReadLog( void *priv, const dvd_logger_cb *logcb,
+void DVDReadLog( void *priv, const dvd_logger_cb *logcb,
dvd_logger_level_t level, const char *fmt, ... );
#define LOG(ctx, level, ...) \
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/9fb07c19b1f6737a8f127fe55ddda2ecf14f6363...bd6670b16281b251326cedc82b438a77d43bcbae
--
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/9fb07c19b1f6737a8f127fe55ddda2ecf14f6363...bd6670b16281b251326cedc82b438a77d43bcbae
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