[libbluray-devel] commit: _suspend_object(): set current program to NULL (hpi1 )

git at videolan.org git at videolan.org
Fri Oct 8 12:20:28 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Oct  8 13:19:26 2010 +0300| [85f8891a793718461cea01326620a419c613355d] | committer: hpi1 

_suspend_object(): set current program to NULL

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=85f8891a793718461cea01326620a419c613355d
---

 src/libbluray/hdmv/hdmv_vm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index 3e3d74a..b0986e5 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -279,6 +279,7 @@ static void _suspend_object(HDMV_VM *p)
     p->suspended_object = p->object;
     p->suspended_pc     = p->pc;
 
+    p->object = NULL;
 }
 
 static int _resume_object(HDMV_VM *p)



More information about the libbluray-devel mailing list