Commit 25bc2271 authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: h264: check for null block

corner case when frame contains only AU delimiter
parent 04585fdf
......@@ -606,7 +606,9 @@ static block_t *OutputPicture( decoder_t *p_dec )
p_head->p_next = p_list;
else
p_head = p_list;
block_ChainAppend( &p_head, p_sys->p_frame );
if( p_sys->p_frame )
block_ChainAppend( &p_head, p_sys->p_frame );
p_pic = block_ChainGather( p_head );
}
......
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