]> git.sesse.net Git - vlc/blobdiff - modules/codec/cc.c
Simplify the creation of subpicture with dynamic content.
[vlc] / modules / codec / cc.c
index 0d1ab2e1bc98e523c96c8f0ea55c9a5a0019584a..237d875ea66f692c36db26014b574a479774689f 100644 (file)
@@ -327,7 +327,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h
         EnsureUTF8( psz_html );
 
     /* Create the subpicture unit */
-    p_spu = decoder_NewSubpicture( p_dec );
+    p_spu = decoder_NewSubpicture( p_dec, NULL );
     if( !p_spu )
     {
         msg_Warn( p_dec, "can't get spu buffer" );