# HG changeset patch # User rathann # Date 1380842154 0 # Node ID fef53ca485417784b9631147ed7cbf608f3ba20e # Parent 43c9bfd418d13545a565c81eba1a17f20a360c1f Let dvdnav_describe_title_chapters() skip PGCs with missing cells. Fixes segfaults with a rip of Ghost Protocol. Patch by Fabian Keil #fk$fabiankeil%de^ diff -r 43c9bfd418d1 -r fef53ca48541 searching.c --- a/searching.c Thu Oct 03 23:02:55 2013 +0000 +++ b/searching.c Thu Oct 03 23:15:54 2013 +0000 @@ -642,6 +642,10 @@ printerr("Cell new row cannot be 0"); continue; } + if (pgc->cell_playback == NULL) { + printerr("Cell missing"); + continue; + } if(ptt[i].pgn < pgc->nr_of_programs) endcellnr = pgc->program_map[ptt[i].pgn];