]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/transcode/spu.c
std: cosmetic
[vlc] / modules / stream_out / transcode / spu.c
index 95db5e2daf449568edd831bc894900fcdfec458a..d031d9a388eaf101f4554012d636660e7dcb8595 100644 (file)
@@ -31,7 +31,7 @@
 #include "transcode.h"
 
 #include <vlc_meta.h>
-#include <vlc_osd.h>
+#include <vlc_spu.h>
 #include <assert.h>
 
 static subpicture_t *spu_new_buffer( decoder_t *p_dec,
@@ -91,10 +91,7 @@ int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id )
     }
 
     if( !p_sys->p_spu )
-    {
         p_sys->p_spu = spu_Create( p_stream );
-        spu_Init( p_sys->p_spu );
-    }
 
     return VLC_SUCCESS;
 }