[libbluray-devel] use SPN() to calculate stream packet number

hpi1 git at videolan.org
Fri Nov 7 12:12:31 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Nov  7 12:57:28 2014 +0200| [7027afbd1cbdd6eaa0c6c5c528c4a16ea8c75586] | committer: hpi1

use SPN() to calculate stream packet number

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

 src/libbluray/bluray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index ae8301f..9114ba4 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -522,7 +522,7 @@ static void _init_textst_timer(BLURAY *bd)
 {
     if (bd->st_textst.clip) {
         uint32_t clip_time;
-        clpi_access_point(bd->st0.clip->cl, bd->st0.clip_block_pos/192, /*next=*/0, /*angle_change=*/0, &clip_time);
+        clpi_access_point(bd->st0.clip->cl, SPN(bd->st0.clip_block_pos), /*next=*/0, /*angle_change=*/0, &clip_time);
         bd->gc_wakeup_time = clip_time;
         bd->gc_wakeup_pos = 0;
         _update_textst_timer(bd);



More information about the libbluray-devel mailing list