Removed check for p_sys->b_osd because it is not necessary.
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 31 May 2008 13:31:01 +0000 (15:31 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 31 May 2008 13:33:00 +0000 (15:33 +0200)
modules/stream_out/transcode.c

index 5fcf030..ad9c6ea 100644 (file)
@@ -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 );