Mine
public text v1 · immutableIndex: libhb/dvd.c
===================================================================
--- libhb/dvd.c (revision 1063)
+++ libhb/dvd.c (working copy)
@@ -146,6 +146,12 @@
/* VTS which our title is in */
title->vts = d->vmg->tt_srpt->title[t-1].title_set_nr;
+ if (!title->vts)
+ {
+ hb_error("Invalid VTS number!");
+ goto fail;
+ }
+
hb_log( "scan: opening IFO for VTS %d", title->vts );
if( !( vts = ifoOpen( d->reader, title->vts ) ) )
{