[vlc-commits] [Git][videolan/vlc][3.0.x] DVDNAV: provide a compatibility Macro for older releases

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri May 27 08:54:01 UTC 2022



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
a11c2e35 by Jean-Baptiste Kempf at 2022-05-27T08:37:13+00:00
DVDNAV: provide a compatibility Macro for older releases

Close #26479

- - - - -


1 changed file:

- modules/access/dvdnav.c


Changes:

=====================================
modules/access/dvdnav.c
=====================================
@@ -67,6 +67,11 @@ dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *, uint64_t, int32_t);
 
 #include "disc_helper.h"
 
+#ifndef DVDREAD_VERSION_CODE /* defined de facto in 6.0 */
+# define DVDREAD_VERSION_CODE(major, minor, micro) (((major) * 10000) + ((minor) * 100) +  ((micro) * 1))
+# define DVDREAD_VERSION DVDREAD_VERSION_CODE(5,0,3)
+#endif
+
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a11c2e35d2efbf395fed71fc085a1182067ffc48

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


VideoLAN code repository instance


More information about the vlc-commits mailing list