Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • videolan/libdvdnav
  • thresh/libdvdnav
  • robUx4/libdvdnav
  • jsgh/libdvdnav
  • chouquette/libdvdnav
  • jbk/libdvdnav
  • martymac/libdvdnav
  • Mathias_Couder/libdvdnav
  • DimitriPapadopoulos/libdvdnav
  • hpi/libdvdnav
  • miguelborgesdefreitas/libdvdnav
  • dmahurin/libdvdnav
  • ATinySpaceMarine/libdvdnav
  • masstock/libdvdnav
14 results
Show changes
Commits on Source (3)
......@@ -153,8 +153,6 @@ static dvdnav_status_t dvdnav_open_common(dvdnav_t** dest, const char *path,
struct timeval time;
/* Create a new structure */
fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s\n", VERSION);
(*dest) = NULL;
this = (dvdnav_t*)calloc(1, sizeof(dvdnav_t));
if(!this)
......@@ -167,11 +165,9 @@ static dvdnav_status_t dvdnav_open_common(dvdnav_t** dest, const char *path,
/* Initialise the VM */
this->vm = vm_new_vm();
if(!this->vm) {
printerr("Error initialising the DVD VM.");
goto fail;
}
if(!vm_reset(this->vm, path, stream, stream_cb)) {
printerr("Error starting the VM / opening the DVD device.");
goto fail;
}
......@@ -1291,3 +1287,7 @@ user_ops_t dvdnav_get_restrictions(dvdnav_t* this) {
return ops.ops_struct;
}
const char* dvdnav_version(void) {
return VERSION;
}
......@@ -115,6 +115,7 @@ dvdnav_status_t dvdnav_path(dvdnav_t *self, const char **path);
*/
const char* dvdnav_err_to_string(dvdnav_t *self);
const char* dvdnav_version(void);
/*********************************************************************
* changing and reading DVD player characteristics *
......