The main patch is now less intrusive by having the index building related lists (sample_offsets and open_key_samples) and variable (min_sample_duration) computed in the same place. This is a better segmentation between pure parsing and the index logic. The patch should be easier to understand too. Also, ping on the review. Regards,