[libbluray-devel] Simplify
hpi1
git at videolan.org
Wed Jul 2 14:38:29 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Jul 2 14:25:29 2014 +0300| [51ca0bcd1044138c8c5f561da5027a83eb5af404] | committer: hpi1
Simplify
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=51ca0bcd1044138c8c5f561da5027a83eb5af404
---
src/libbluray/bdnav/navigation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index 1e6c74c..69981af 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -569,7 +569,7 @@ NAV_CLIP* nav_chapter_search(NAV_TITLE *title, unsigned chapter, uint32_t *clip_
if (chapter > title->chap_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->chap_list.mark[chapter].clip_ref];
More information about the libbluray-devel
mailing list