[libdvdnav-devel] [Git][videolan/libdvdread][master] fix: titleset logic path fix

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Mar 7 14:16:31 UTC 2026



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


Commits:
a9e26de8 by Saifelden Mohamed Ismail at 2026-03-07T15:15:57+01:00
fix: titleset logic path fix

- - - - -


1 changed file:

- src/dvd_reader.c


Changes:

=====================================
src/dvd_reader.c
=====================================
@@ -1143,7 +1143,7 @@ static dvd_file_t *DVDOpenVOBUDF( dvd_reader_t *ctx, int title, int menu )
 
     for( cur = 2; cur < 10; cur++ ) {
       sprintf( filename, "/%s_TS/%cTS_%02d_%d.%cOB", DVD_TYPE_STRING( ctx->dvd_type ), 
-              STREAM_TYPE_STRING( ctx->dvd_type ), title, menu ? 0 : 1, STREAM_TYPE_STRING( ctx->dvd_type ) );
+              STREAM_TYPE_STRING( ctx->dvd_type ), title, cur, STREAM_TYPE_STRING( ctx->dvd_type ) );
       if( !UDFFindFile( ctx, filename, &len ) ) break;
       dvd_file->filesize += len / DVD_VIDEO_LB_LEN;
     }



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

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


VideoLAN code repository instance


More information about the libdvdnav-devel mailing list