[libdvdnav-devel] [Git][videolan/libdvdread][master] dvd_udf: use the backup volume descriptor sequence from the AVDP rvds

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Aug 11 20:34:21 UTC 2026



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


Commits:
ce9bdb77 by Petri Hintukainen at 2026-08-11T22:33:36+02:00
dvd_udf: use the backup volume descriptor sequence from the AVDP rvds

When the partition or volume could not be found in the main volume
descriptor sequence, the fallback retried the same main sequence again
instead of the backup sequence.

- - - - -


1 changed file:

- src/dvd_udf.c


Changes:

=====================================
src/dvd_udf.c
=====================================
@@ -819,8 +819,8 @@ static int UDFFindPartition( dvd_reader_t *ctx, int partnum,
 
     if( ( !part->valid) || ( !volvalid ) ) {
       /* Backup volume descriptor */
-      MVDS_location = avdp.mvds.location;
-      MVDS_length = avdp.mvds.length;
+      MVDS_location = avdp.rvds.location;
+      MVDS_length = avdp.rvds.length;
     }
   } while( i-- && ( ( !part->valid ) || ( !volvalid ) ) );
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/ce9bdb7775601f4e6b95136b875bc72a53c5ba7d
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