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 63fbb0f..963537c 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 )
 {