fixed for B-slices in random-access mode