summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index f2e0ffeb3..bd167e775 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -267,7 +267,7 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t, uint64_t min_dur
hb_log("pgc_id: %d, pgn: %d: pgc: %p", pgc_id, pgn, d->pgc);
- if( !d->pgc )
+ if( !d->pgc || !d->pgc->program_map )
{
hb_error( "scan: pgc not valid, skipping" );
goto fail;