summaryrefslogtreecommitdiffstats
path: root/abs/extra/libdvdnav/deadlock.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-10 03:45:51 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-10 03:45:51 (GMT)
commit557603f4844b7c811644c4cca665cd8068fcea2d (patch)
treee0ddb042c3a52f943ee142fce23531d5accc2385 /abs/extra/libdvdnav/deadlock.patch
parent73332958e0b6c3578829fb91e03e270cc1948fcb (diff)
downloadlinhes_pkgbuild-557603f4844b7c811644c4cca665cd8068fcea2d.zip
linhes_pkgbuild-557603f4844b7c811644c4cca665cd8068fcea2d.tar.gz
linhes_pkgbuild-557603f4844b7c811644c4cca665cd8068fcea2d.tar.bz2
libdvdnav: update to latest
Diffstat (limited to 'abs/extra/libdvdnav/deadlock.patch')
-rw-r--r--abs/extra/libdvdnav/deadlock.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/libdvdnav/deadlock.patch b/abs/extra/libdvdnav/deadlock.patch
new file mode 100644
index 0000000..2a58240
--- /dev/null
+++ b/abs/extra/libdvdnav/deadlock.patch
@@ -0,0 +1,17 @@
+--- a/src/dvdnav.c 2009-11-08 16:58:25.000000000 +0300
++++ b/src/dvdnav.c 2009-11-08 16:58:52.000000000 +0300
+@@ -180,12 +180,13 @@
+ pthread_mutex_unlock(&this->vm_lock);
+ return DVDNAV_STATUS_ERR;
+ }
++ pthread_mutex_unlock(&this->vm_lock);
++
+ #ifdef LOG_DEBUG
+ fprintf(MSG_OUT, "libdvdnav: clearing dvdnav\n");
+ #endif
+ result = dvdnav_clear(this);
+
+- pthread_mutex_unlock(&this->vm_lock);
+ return result;
+ }
+