Commit db1da1ba authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

filter_chain: remove useless callback

parent da352496
...@@ -63,11 +63,10 @@ static void AllocatorClean( const filter_chain_allocator_t *, ...@@ -63,11 +63,10 @@ static void AllocatorClean( const filter_chain_allocator_t *,
static bool IsInternalVideoAllocator( chained_filter_t * ); static bool IsInternalVideoAllocator( chained_filter_t * );
static int InternalVideoInit( filter_t *, void * ); static int InternalVideoInit( filter_t *, void * );
static void InternalVideoClean( filter_t * );
static const filter_chain_allocator_t internal_video_allocator = { static const filter_chain_allocator_t internal_video_allocator = {
.pf_init = InternalVideoInit, .pf_init = InternalVideoInit,
.pf_clean = InternalVideoClean, .pf_clean = NULL,
.p_data = NULL, .p_data = NULL,
}; };
...@@ -611,11 +610,6 @@ static int InternalVideoInit( filter_t *p_filter, void *p_data ) ...@@ -611,11 +610,6 @@ static int InternalVideoInit( filter_t *p_filter, void *p_data )
return VLC_SUCCESS; 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 ) static bool IsInternalVideoAllocator( chained_filter_t *p_filter )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment