X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_filter%2Finvert.c;h=33b2884e08b8495d788fff7e0d49de624d70d09a;hb=c12acbd7d48431d7b5029d765e69e87378aca7a2;hp=e857dfe08c7c9eed89916be177809ec6d64e3e7d;hpb=55c960749e8f91763e720ac610d5dd56f90fcde1;p=vlc diff --git a/modules/video_filter/invert.c b/modules/video_filter/invert.c index e857dfe08c..33b2884e08 100644 --- a/modules/video_filter/invert.c +++ b/modules/video_filter/invert.c @@ -32,7 +32,7 @@ #include #include -#include "vlc_filter.h" +#include #include "filter_picture.h" /***************************************************************************** @@ -56,16 +56,6 @@ vlc_module_begin () set_callbacks( Create, Destroy ) vlc_module_end () -/***************************************************************************** - * filter_sys_t: Invert video output method descriptor - ***************************************************************************** - * This structure is part of the video output thread descriptor. - * It describes the Invert specific properties of an output thread. - *****************************************************************************/ -struct filter_sys_t -{ -}; - /***************************************************************************** * Create: allocates Invert video thread output method ***************************************************************************** @@ -75,11 +65,6 @@ static int Create( vlc_object_t *p_this ) { filter_t *p_filter = (filter_t *)p_this; - /* Allocate structure */ - p_filter->p_sys = malloc( sizeof( filter_sys_t ) ); - if( p_filter->p_sys == NULL ) - return VLC_ENOMEM; - p_filter->pf_video_filter = Filter; return VLC_SUCCESS; @@ -92,9 +77,7 @@ static int Create( vlc_object_t *p_this ) *****************************************************************************/ static void Destroy( vlc_object_t *p_this ) { - filter_t *p_filter = (filter_t *)p_this; - - free( p_filter->p_sys ); + (void)p_this; } /*****************************************************************************