On Sat, Aug 30, 2008 at 02:16:34PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> I think it's time to push out release 4.1.3 of libdvdnav and libdvdread.
> I'll bump the versions, prepare tarballs and post release news entry
> shortly.

In typical day late, dollar short fashion. Here is a patch that I would
like you to consider before the release.

E

-- 
Erik Hovland
mail: [EMAIL PROTECTED]
web: http://hovland.org/
PGP/GPG public key available on request
A variable assignment is missing a lock around it.

From: Erik Hovland <[EMAIL PROTECTED]>


---

 src/navigation.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/navigation.c b/src/navigation.c
index bfc0ef4..b5de9a5 100644
--- a/src/navigation.c
+++ b/src/navigation.c
@@ -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;
_______________________________________________
DVDnav-discuss mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to