2 ===================================================================
3 --- libdvdnav.orig/src/dvdnav.c (revision 1168)
4 +++ libdvdnav/src/dvdnav.c (working copy)
7 fprintf(MSG_OUT, "libdvdnav: clearing dvdnav\n");
9 + pthread_mutex_unlock(&this->vm_lock);
10 result = dvdnav_clear(this);
12 - pthread_mutex_unlock(&this->vm_lock);
19 /* Check to see if we need to change the currently opened VOB */
20 - if((this->position_current.vts != this->position_next.vts) ||
21 + if((this->file == NULL) ||
22 + (this->position_current.vts != this->position_next.vts) ||
23 (this->position_current.domain != this->position_next.domain)) {
24 dvd_read_domain_t domain;