]> git.sesse.net Git - vlc/commitdiff
filter_chain: remove useless callback
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 28 Jul 2014 16:49:58 +0000 (19:49 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 28 Jul 2014 18:37:47 +0000 (21:37 +0300)
src/misc/filter_chain.c

index 63fbb0f1ec3a40ad754f27c8522dae2a958fc4a8..963537c2b48ec89cb9a6ed9e0dcebc8acdba0612 100644 (file)
@@ -63,11 +63,10 @@ static void AllocatorClean( const filter_chain_allocator_t *,
 static bool IsInternalVideoAllocator( chained_filter_t * );
 
 static int  InternalVideoInit( filter_t *, void * );
-static void InternalVideoClean( filter_t * );
 
 static const filter_chain_allocator_t internal_video_allocator = {
     .pf_init = InternalVideoInit,
-    .pf_clean = InternalVideoClean,
+    .pf_clean = NULL,
     .p_data = NULL,
 };
 
@@ -611,11 +610,6 @@ static int InternalVideoInit( filter_t *p_filter, void *p_data )
 
     return VLC_SUCCESS;
 }
-static void InternalVideoClean( filter_t *p_filter )
-{
-    p_filter->pf_video_buffer_new = NULL;
-    p_filter->pf_video_buffer_del = NULL;
-}
 
 static bool IsInternalVideoAllocator( chained_filter_t *p_filter )
 {