Commit 498c3f39 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Removed check for p_sys->b_osd because it is not necessary.

parent 07f363a4
......@@ -2983,7 +2983,7 @@ static void transcode_osd_close( sout_stream_t *p_stream, sout_stream_id_t *id)
sout_stream_sys_t *p_sys = p_stream->p_sys;
/* Close encoder */
if( p_sys->b_osd && id )
if( id )
{
if( id->p_encoder->p_module )
module_Unneed( id->p_encoder, id->p_encoder->p_module );
......
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