]> git.sesse.net Git - vlc/blobdiff - modules/access/dv.c
Use module_* functions
[vlc] / modules / access / dv.c
index 9cb38465dd918fee918c3847ff35ba5f8e00a5ae..8a5d6376754a561dafa311e1f541ee0d84d8b109 100644 (file)
@@ -25,7 +25,7 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
-#include <vlc/input.h>
+#include <vlc_access.h>
 
 #include <stdlib.h>
 #include <string.h>
@@ -252,7 +252,7 @@ static void Close( vlc_object_t *p_this )
     if( p_sys->p_ev )
     {
         /* stop the event handler */
-        p_sys->p_ev->b_die = VLC_TRUE;
+        vlc_object_kill( p_sys->p_ev );
 
         if( p_sys->p_raw1394 )
             raw1394_stop_iso_rcv( p_sys->p_raw1394, p_sys->i_channel );