summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2007-09-27 10:46:44 +0000
committereddyg <[email protected]>2007-09-27 10:46:44 +0000
commit03e7cd2359a0c84e194348e657ecce14a448ea3d (patch)
treeefb4349a75d68b4189f1cb97728934230e81a269 /libhb/dvd.c
parent4ddad05461f924ba264ce333006699ca451605b1 (diff)
Mistake in chapter merging well spotted by Van, which would cause the encoding to terminate prematurely due to an incorrect movie duration.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@992 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r--libhb/dvd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index 8eab1b3ea..234e55bd2 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -450,6 +450,7 @@ hb_title_t * hb_dvd_title_scan( hb_dvd_t * d, int t )
chapter_old->cell_end = chapter->cell_end;
chapter_old->block_end = chapter->block_end;
chapter_old->block_count += chapter->block_count;
+ chapter_old->duration += chapter->duration;
free( chapter );
chapter = chapter_old;
}