forge
Explore
Log in

Don't you dare go Hollow

B8: show_existing_frame clears pending frame header so a stray OBU_TILE_GROUP is rejected (no tile group follows a show-existing header)

Browse files at this commit

892fabdae2b6fc01dcfe112e65eb0998842b40e5Ahmet Kaan GümüşParent: 990c0b5
crates/ec-av1-syntax/src/lib.rsmodified+5 -1
@@ -313,7 +313,11 @@ impl Av1Parser {
313313 } else {
314314 apply_refresh(&mut self.state, &h, seq.color_config.bit_depth);
315315 }
316- self.pending = Some(h.clone());
316+ self.pending = if h.show_existing_frame {
317+ None
318+ } else {
319+ Some(h.clone())
320+ };
317321 }
318322 Ok(h)
319323 }