[libdvdnav-devel] [Git][videolan/libdvdread][master] 2 commits: dvdread: set the ifo format in ifoOpenASVS so ifoClose actually frees it
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Jul 11 16:15:43 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread
Commits:
fba59833 by Saifelden Mohamed Ismail at 2026-07-11T18:15:09+02:00
dvdread: set the ifo format in ifoOpenASVS so ifoClose actually frees it
- - - - -
17f1f079 by Saifelden Mohamed Ismail at 2026-07-11T18:15:09+02:00
dvdread: same ifo format fix for ifoOpenSAMG
- - - - -
1 changed file:
- src/ifo_read.c
Changes:
=====================================
src/ifo_read.c
=====================================
@@ -687,8 +687,10 @@ ifo_handle_t *ifoOpenASVS(dvd_reader_t *ctx) {
}
- if (ifoRead_ASVS(&ifop->handle))
+ if (ifoRead_ASVS(&ifop->handle)) {
+ ifop->handle.ifo_format = IFO_AUDIO;
return &ifop->handle;
+ }
Log1(ctx, "ifoOpenASVS(): Invalid ASVS IFO (AUDIO_SV.%s).", ext);
ifoClose(&ifop->handle);
@@ -724,8 +726,10 @@ ifo_handle_t * ifoOpenSAMG(dvd_reader_t *ctx) {
}
- if (ifoRead_SAMG(&ifop->handle))
+ if (ifoRead_SAMG(&ifop->handle)) {
+ ifop->handle.ifo_format = IFO_AUDIO;
return &ifop->handle;
+ }
Log1(ctx, "ifoOpenSAMG(): Invalid SAMG IFO (AUDIO_PP.IFO).");
ifoClose(&ifop->handle);
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/4c0e1a800cda716a2b432cd66a30dfa7e835a749...17f1f079e0dbf49804b2f4b426b056a65aca4270
--
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/compare/4c0e1a800cda716a2b432cd66a30dfa7e835a749...17f1f079e0dbf49804b2f4b426b056a65aca4270
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