# HG changeset patch # User rathann # Date 1220206403 0 # Node ID 4e28052eb201d0272ba557ad9dde63a35002709b # Parent 579a3538d284d784562b718050efd9a82306d828 A variable assignment is missing a lock around it. All other accesses are locked. Patch by Erik Hovland %erik!hovland dot org* diff -r 579a3538d284 -r 4e28052eb201 navigation.c --- a/navigation.c Sat Aug 30 12:12:13 2008 +0000 +++ b/navigation.c Sun Aug 31 18:13:23 2008 +0000 @@ -41,7 +41,9 @@ /* Navigation API calls */ dvdnav_status_t dvdnav_still_skip(dvdnav_t *this) { + pthread_mutex_lock(&this->vm_lock); this->position_current.still = 0; + pthread_mutex_unlock(&this->vm_lock); this->skip_still = 1; this->sync_wait = 0; this->sync_wait_skip = 1;