[libbluray-devel] commit: Fixed hdmv_vm_suspend() (hpi1 )
git at videolan.org
git at videolan.org
Fri Oct 8 13:04:02 CEST 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Oct 8 13:52:12 2010 +0300| [4273ae27bd4deaf78758a7ecce3d0ffce4c1b636] | committer: hpi1
Fixed hdmv_vm_suspend()
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4273ae27bd4deaf78758a7ecce3d0ffce4c1b636
---
src/libbluray/hdmv/hdmv_vm.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index 9c98cdb..543a1ca 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -912,8 +912,9 @@ int hdmv_vm_resume(HDMV_VM *p)
int hdmv_vm_suspend(HDMV_VM *p)
{
- if (p->object && !p-ig_object) {
- return _suspend_object(p);
+ if (p->object && !p->ig_object) {
+ _suspend_object(p);
+ return 0;
}
return -1;
}
More information about the libbluray-devel
mailing list