# HG changeset patch # User mroi # Date 1073504112 0 # Node ID f19fce15577be1e18c40b85576a25be670144a0b # Parent 2d79ef3f3956b71066e6dc5cebac1842e2167adf fix assertion failure when someone asks for the position between an Exit command and the following get_next_block() call diff -r 2d79ef3f3956 -r f19fce15577b searching.c --- a/searching.c Wed Jan 07 19:34:28 2004 +0000 +++ b/searching.c Wed Jan 07 19:35:12 2004 +0000 @@ -405,7 +405,7 @@ pthread_mutex_lock(&this->vm_lock); state = &(this->vm->state); - if(!state->pgc) { + if(!state->pgc || this->vm->stopped) { printerr("No current PGC."); pthread_mutex_unlock(&this->vm_lock); return DVDNAV_STATUS_ERR;