[vlc-commits] [Git][videolan/vlc][3.0.x] contrib: dvdnav: update title parts patch from upstream

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Aug 23 14:39:16 UTC 2025



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
4ce93430 by Johannes Kauffmann at 2025-08-23T13:47:44+00:00
contrib: dvdnav: update title parts patch from upstream

The patch was updated upstream.

(cherry picked from commit c149deb2c7c16318f85376a3fe95769a07b04781)

- - - - -


1 changed file:

- contrib/src/dvdnav/0001-Check-the-the-title-parts-read-are-available.patch


Changes:

=====================================
contrib/src/dvdnav/0001-Check-the-the-title-parts-read-are-available.patch
=====================================
@@ -17,7 +17,7 @@ index 7c8e6e6..ba27306 100644
    if(ptitle->vts_ttn == 0)
        goto fail;
    ptt = ifo->vts_ptt_srpt->title[ptitle->vts_ttn-1].ptt;
-+  if (parts >= ifo->vts_ptt_srpt->title[ptitle->vts_ttn-1].nr_of_ptts) {
++  if (parts > ifo->vts_ptt_srpt->title[ptitle->vts_ttn-1].nr_of_ptts) {
 +      printerr("Too many parts, using the ones available.");
 +      parts = ifo->vts_ptt_srpt->title[ptitle->vts_ttn-1].nr_of_ptts;
 +  }



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

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