mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
We don't actually need a Vector stack of bytes read for each element we're reading out of a Matroska file, we already have the C++ stack in which we can store the start and end of the master elements we're reading. This fixes an issue where seeks while parsing master elements would not increment m_octets_read, so the master element could continue reading further than intended. This could cause a BlockGroup followed by a SimpleBlock to read as if the BlockGroup contained the SimpleBlock, meaning that SampleIterator would skip the SimpleBlock. A test is added to ensure this doesn't regress again.
123 B
123 B