]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/mosaic.c
Use filter helpers.
[vlc] / modules / video_filter / mosaic.c
index b62da83cdcc90ebc3db6e88d968d9500dbc2b12d..379b25ed12f7d62391cf539873068b649e677673 100644 (file)
@@ -448,11 +448,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     subpicture_region_t *p_region_prev = NULL;
 
     /* Allocate the subpicture internal data. */
-    p_spu = p_filter->pf_sub_buffer_new( p_filter );
+    p_spu = filter_NewSubpicture( p_filter );
     if( !p_spu )
-    {
         return NULL;
-    }
 
     /* Initialize subpicture */
     p_spu->i_channel = 0;