[vlc-commits] [Git][videolan/vlc][master] dvdread: add a version guard to the DVD-Audio open path
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Jul 20 14:32:42 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1008fcdc by Saifelden Mohamed Ismail at 2026-07-20T12:00:39+00:00
dvdread: add a version guard to the DVD-Audio open path
- - - - -
1 changed file:
- modules/access/dvdread.c
Changes:
=====================================
modules/access/dvdread.c
=====================================
@@ -161,7 +161,7 @@ int OpenCommonDvdread( vlc_object_t *p_this , dvd_type_t type,
dvd_logger_cb cbs = { .pf_log = DvdReadLog };
#endif
dvd_reader_t *p_dvdread;
-#ifdef DVDREAD_HAS_DVDAUDIO
+#if defined(DVDREAD_HAS_DVDAUDIO) && DVDREAD_VERSION >= DVDREAD_VERSION_CODE(6, 1, 0)
switch (type) {
case DVD_A:
p_dvdread = DVDOpenAudio( p_demux, &cbs, psz_path );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1008fcdc98c2756c139f23705b741f1b09eab164
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1008fcdc98c2756c139f23705b741f1b09eab164
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 vlc-commits
mailing list