[libbluray-devel] [PATCH 1/2] fix mark->title_pkt calculation
Petri Hintukainen
phintuka at users.sourceforge.net
Sun Apr 10 11:23:42 CEST 2016
On pe, 2016-04-08 at 14:10 -0600, John Stebbins wrote:
> ---
> 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 60eccbb..a263c16 100644
> --- a/src/libbluray/bdnav/navigation.c
> +++ b/src/libbluray/bdnav/navigation.c
> @@ -476,7 +476,7 @@ _fill_mark(NAV_TITLE *title, NAV_MARK *mark, int
> entry)
> } else {
> mark->clip_pkt = clip->start_pkt;
> }
> - mark->title_pkt = clip->title_pkt + mark->clip_pkt;
> + mark->title_pkt = clip->title_pkt + mark->clip_pkt - clip
> ->start_pkt;
> mark->clip_time = plm->time;
>
> // Calculate start of mark relative to beginning of playlist
LGTM
More information about the libbluray-devel
mailing list