]> git.sesse.net Git - vlc/blobdiff - modules/codec/dvbsub.c
Added decoder_NewSubpicture/decoder_DeleteSubpicture helpers.
[vlc] / modules / codec / dvbsub.c
index 9658c89512f6a2048771545ab4cdce1a2f96208f..0310fa4441fe32f69c2c0fcc60f971d5c51f63cf 100644 (file)
@@ -1449,7 +1449,7 @@ static subpicture_t *render( decoder_t *p_dec )
     int i_base_y;
 
     /* Allocate the subpicture internal data. */
-    p_spu = p_dec->pf_spu_buffer_new( p_dec );
+    p_spu = decoder_NewSubpicture( p_dec );
     if( !p_spu )
         return NULL;