]> git.sesse.net Git - vlc/blobdiff - modules/codec/svcdsub.c
Simplify the creation of subpicture with dynamic content.
[vlc] / modules / codec / svcdsub.c
index 78dcd3c152ba1c46bcf2c6b1bc9abcafb42d1100..c8210d1146ff0843ea17591a92fee1b07685dccf 100644 (file)
@@ -469,7 +469,7 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, block_t *p_data )
     int i;
 
     /* Allocate the subpicture internal data. */
-    p_spu = decoder_NewSubpicture( p_dec );
+    p_spu = decoder_NewSubpicture( p_dec, NULL );
     if( !p_spu ) return NULL;
 
     p_spu->i_start = p_data->i_pts;