Skip to content
Snippets Groups Projects
Commit 0e39c49c authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf
Browse files

packetizer: avparser: fix leak on flush

parent 132308a6
Branches master
No related tags found
No related merge requests found
Pipeline #465814 passed with stage
in 3 minutes and 2 seconds
......@@ -66,6 +66,8 @@ static void FlushPacketizer( decoder_t *p_dec )
{
avparser_ClosePacketizer( VLC_OBJECT( p_dec ) );
p_dec->p_sys = NULL;
es_format_Clean( &p_dec->fmt_out );
es_format_Init( &p_dec->fmt_out, p_dec->fmt_in->i_cat, 0 );
int res = avparser_OpenPacketizer( VLC_OBJECT( p_dec ) );
if ( res != VLC_SUCCESS )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment