]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/logo.c
s/vout_Destroy/vlc_object_release/ - A cat is a cat
[vlc] / modules / video_filter / logo.c
index 68c11bece8d53eb8d6764e7b0624802631d8bac3..6fcedca0213adf294ff7eb4e6eacf00a26d12590 100644 (file)
@@ -30,7 +30,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 
@@ -491,7 +491,7 @@ static void End( vout_thread_t *p_vout )
 
     DEL_CALLBACKS( p_sys->p_vout, SendEvents );
     vlc_object_detach( p_sys->p_vout );
-    vout_Destroy( p_sys->p_vout );
+    vlc_object_release( p_sys->p_vout );
 
     if( p_sys->p_blend->p_module )
         module_Unneed( p_sys->p_blend, p_sys->p_blend->p_module );