
After discarding upstream we shouldn't reuse the extractor from the (newly) last media chunk because the extractor may have been reused already by the discarded chunks. Also add an assertion to SampleQueue that prevents the hard-to-detect failure mode of overlapping sample byte ranges. Issue: #7690 PiperOrigin-RevId: 324785093