[vlc-commits] filter_chain: remove useless callback

Rémi Denis-Courmont git at videolan.org
Mon Jul 28 23:55:13 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 28 19:49:58 2014 +0300| [db1da1ba3eca012da38a0f4ddf2b5ce5cd614dfa] | committer: Rémi Denis-Courmont

filter_chain: remove useless callback

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db1da1ba3eca012da38a0f4ddf2b5ce5cd614dfa
---

 src/misc/filter_chain.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 63fbb0f..963537c 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -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 )
 {



More information about the vlc-commits mailing list