[libbluray-devel] Fixed bd_set_player_setting()
hpi1
git at videolan.org
Thu Feb 7 22:49:19 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Feb 7 23:48:47 2013 +0200| [b0b0443f008f9c2a0e67d6586bc3690e87ad9051] | committer: hpi1
Fixed bd_set_player_setting()
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b0b0443f008f9c2a0e67d6586bc3690e87ad9051
---
src/libbluray/bluray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 19c63b3..8a09a04 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -2274,7 +2274,7 @@ int bd_set_player_setting(BLURAY *bd, uint32_t idx, uint32_t value)
int result;
bd_mutex_lock(&bd->mutex);
result = !bd_psr_setting_write(bd->regs, idx, value);
- bd_mutex_lock(&bd->mutex);
+ bd_mutex_unlock(&bd->mutex);
return result;
}
}
More information about the libbluray-devel
mailing list