Commit 70e36e29 authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: av1: fix segfault on invalid OBU

refs #21275
parent 5499409e
......@@ -446,6 +446,7 @@ static block_t *PacketizeOBU(decoder_t *p_dec, block_t **pp_block)
msg_Warn(p_dec,"Invalid OBU header in sequence, discarding");
/* frag is not OBU, drop */
p_sys->obus.p_chain = p_frag->p_next;
if(p_frag->p_next == NULL)
p_sys->obus.pp_chain_last = &p_sys->obus.p_chain;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment