[libbluray-devel] commit: Simplify (hpi1 )
git at videolan.org
git at videolan.org
Fri Dec 17 12:46:21 CET 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Dec 17 13:46:06 2010 +0200| [a792a77a7fcd22b6d30690e5dd88d5c10a5502ff] | committer: hpi1
Simplify
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a792a77a7fcd22b6d30690e5dd88d5c10a5502ff
---
src/libbluray/bdnav/navigation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index eb574e0..455bb29 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -589,7 +589,7 @@ NAV_CLIP* nav_mark_search(NAV_TITLE *title, unsigned mark, uint32_t *clip_pkt, u
if (mark > title->mark_list.count) {
clip = &title->clip_list.clip[0];
*clip_pkt = clip->start_pkt;
- *out_pkt = clip->pos + *clip_pkt - clip->start_pkt;
+ *out_pkt = clip->pos;
return clip;
}
clip = &title->clip_list.clip[title->mark_list.mark[mark].clip_ref];
More information about the libbluray-devel
mailing list