[libbluray-devel] commit: Fixed _resume_object(): should start executing from next instruction (hpi1 )

git at videolan.org git at videolan.org
Thu Oct 14 17:23:23 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Oct 14 18:06:14 2010 +0300| [cad3facb97b3cdb359e128a24a74a314004600e2] | committer: hpi1 

Fixed _resume_object(): should start executing from next instruction

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

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

diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index 3c791b9..2bce454 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -295,7 +295,7 @@ static int _resume_object(HDMV_VM *p)
     }
 
     p->object = p->suspended_object;
-    p->pc     = p->suspended_pc;
+    p->pc     = p->suspended_pc + 1;
 
     bd_psr_restore_state(p->regs);
 



More information about the libbluray-devel mailing list