[libdvdnav-devel] [Git][videolan/libdvdnav][master] Provide error log message when position cannot be obtained

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Jun 7 11:34:54 UTC 2022



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


Commits:
2dbafd1b by Miguel Borges de Freitas at 2022-06-07T11:34:16+01:00
Provide error log message when position cannot be obtained

Co-authored-by: Voyager1 <voyager at xbmc.org>

- - - - -


1 changed file:

- src/searching.c


Changes:

=====================================
src/searching.c
=====================================
@@ -228,6 +228,7 @@ dvdnav_status_t dvdnav_sector_search(dvdnav_t *this,
 
   result = dvdnav_get_position(this, &target, &length);
   if(!result) {
+    printerr("Cannot get current position.");
     return DVDNAV_STATUS_ERR;
   }
 



View it on GitLab: https://code.videolan.org/videolan/libdvdnav/-/commit/2dbafd1b72b8744c495613425a534eb808ff878e

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