Commit 9b587a81 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix a few bugs in mosaic bridge.

parent cb02b264
......@@ -82,7 +82,6 @@ static void ReleasePicture( picture_t *p_pic )
if( --p_pic->i_refcount > 0 )
return;
assert( p_pic->p_sys );
if( p_pic->p_sys )
{
pf_release_t pf_release = (pf_release_t)p_pic->p_sys;
......@@ -440,6 +439,10 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
filter_chain_AppendFromString( p_sys->p_vf2, psz_chain );
free( psz_chain );
}
else
{
p_sys->p_vf2 = NULL;
}
return (sout_stream_id_t *)p_sys;
}
......
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