*** stream/stream_dvd.c Sat May 26 13:15:34 2007 --- stream/stream_dvd.c.orig Sat May 26 13:15:23 2007 *************** *** 614,620 **** return; mp_msg(MSGT_IDENTIFY, MSGL_INFO, "CHAPTERS: "); ! for(i=0; inr_of_programs; i++) { cell = pgc->program_map[i]; //here the cell is 1-based t2 = t/1000; --- 614,620 ---- return; mp_msg(MSGT_IDENTIFY, MSGL_INFO, "CHAPTERS: "); ! for(i=0; inr_of_programs-1; i++) { cell = pgc->program_map[i]; //here the cell is 1-based t2 = t/1000;