summaryrefslogtreecommitdiffstats
path: root/libhb/dvdnav.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-09-19 02:06:20 +0000
committerjstebbins <[email protected]>2013-09-19 02:06:20 +0000
commit39b208c627172872b15e4545e391f42ce3223fa8 (patch)
treed6a4a688087a0b192a32209f2e56aabcd36e88a4 /libhb/dvdnav.c
parentdb5881aaeae77debe4ef2fc71c12900600f991fd (diff)
libhb: fix scanning some dvds
e.g. star trek into darkness This reverts part of a patch that was originally written for dvdread access. So we need to watch for regressions. The patch was originally written for dvdread access and my not actually be a bug in dvdnav. So I have reverted it in dvdnav only. I also tried to reproduce the original bug in dvdread, but was unsuccessful. So I'm wondering if the original bug also got "fixed" by subsequent changes. The original bug report is here: https://forum.handbrake.fr/viewtopic.php?f=4&t=9758&start=0 The original fix is here: https://trac.handbrake.fr/changeset/2256 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5787 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r--libhb/dvdnav.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index ef80bf541..fa6ee2f24 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -379,15 +379,6 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura
ifo->vts_c_adt->cell_adr_table[i].last_sector );
goto fail;
}
- if( ifo->vts_c_adt->cell_adr_table[i].start_sector >=
- ifo->vts_c_adt->cell_adr_table[i].last_sector )
- {
- hb_log( "scan: cell_adr_table[%d].start_sector (0x%x) "
- "is not before last_sector (0x%x) - skipping title", i,
- ifo->vts_c_adt->cell_adr_table[i].start_sector,
- ifo->vts_c_adt->cell_adr_table[i].last_sector );
- goto fail;
- }
}
if( global_verbosity_level == 3 )