# HG changeset patch # User rathann # Date 1380839448 0 # Node ID c53e528905ecef837b7f5da84a13690ee333c763 # Parent 79921c6bb4e8442280fb51423600ac50247ced73 Let dvdnav_describe_title_chapters() skip PGCs with a cell number of zero. Patch by Fabian Keil $fk%fabiankeil^de& diff -r 79921c6bb4e8 -r c53e528905ec searching.c --- a/searching.c Thu Oct 03 22:21:29 2013 +0000 +++ b/searching.c Thu Oct 03 22:30:48 2013 +0000 @@ -630,6 +630,10 @@ goto fail; } + if (pgc->nr_of_cells == 0) { + printerr("Number of cells cannot be 0"); + continue; + } if ((cellnr = pgc->program_map[ptt[i].pgn-1]) == 0) { printerr("Cell new row cannot be 0"); continue;