Commit ae42134e authored by Rocky Bernstein's avatar Rocky Bernstein

Deal with just one of the many crashes. This one in trying to find an entry

point inside a segment. Duh.
parent d6b04c78
......@@ -241,6 +241,14 @@ VCDSeek( access_t * p_access, int64_t i_pos )
p_vcd->i_lsn = (i_pos / (int64_t)M2F2_SECTOR_SIZE) +
p_vcd->track_lsn;
switch (p_vcd->play_item.type) {
case VCDINFO_ITEM_TYPE_TRACK:
case VCDINFO_ITEM_TYPE_ENTRY:
break ;
default:
p_vcd->b_valid_ep = VLC_FALSE;
}
/* Find entry */
if( p_vcd->b_valid_ep )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment