comparison dvdnav.c @ 339:d0bfcfa565b0 src

in dvdnav_get_next_cache_block() release the mutex if vm_start() failed ; patch by Erik Hovland - erik hovland org
author nicodvb
date Sat, 19 Apr 2008 10:11:36 +0000
parents 0dc09442ff9c
children b19a644148a9
comparison
equal deleted inserted replaced
338:0dc09442ff9c 339:d0bfcfa565b0
414 414
415 if(!this->started) { 415 if(!this->started) {
416 /* Start the VM */ 416 /* Start the VM */
417 if (!vm_start(this->vm)) { 417 if (!vm_start(this->vm)) {
418 printerr("Encrypted or faulty DVD"); 418 printerr("Encrypted or faulty DVD");
419 pthread_mutex_unlock(&this->vm_lock);
419 return DVDNAV_STATUS_ERR; 420 return DVDNAV_STATUS_ERR;
420 } 421 }
421 this->started = 1; 422 this->started = 1;
422 } 423 }
423 424