[libbluray-devel] commit: Fixed bd_psr_restore_state() (hpi1 )
git at videolan.org
git at videolan.org
Thu Oct 14 13:49:19 CEST 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Oct 11 14:15:39 2010 +0300| [b68fedeb5de79d92ef984bf403df6bdc23938460] | committer: hpi1
Fixed bd_psr_restore_state()
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b68fedeb5de79d92ef984bf403df6bdc23938460
---
src/libbluray/register.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/register.c b/src/libbluray/register.c
index 8d04dfb..4bb08eb 100644
--- a/src/libbluray/register.c
+++ b/src/libbluray/register.c
@@ -287,8 +287,8 @@ void bd_psr_restore_state(BD_REGISTERS *p)
ev.old_val = old_psr[i];
ev.new_val = p->psr[i];
- for (j = 0; j < p->num_cb; i++) {
- p->cb[i].cb(p->cb[i].handle, &ev);
+ for (j = 0; j < p->num_cb; j++) {
+ p->cb[j].cb(p->cb[j].handle, &ev);
}
}
}
More information about the libbluray-devel
mailing list