]> git.sesse.net Git - vlc/blobdiff - modules/video_output/glide.c
doc: Suggest to use git shortlog -s to show the author of changeset of this particula...
[vlc] / modules / video_output / glide.c
index 1667b86be7117fe822c93b80df5a963876feb4d5..0c2b9eb1cb8c5b17c90aa1a8565c1b16d6ee5426 100644 (file)
  * Preamble
  *****************************************************************************/
 #include <errno.h>                                                 /* ENOMEM */
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
@@ -207,7 +209,7 @@ static int Manage( vout_thread_t *p_vout )
         switch( (char)buf )
         {
         case 'q':
-            p_vout->p_libvlc->b_die = 1;
+            vlc_object_kill( p_vout->p_libvlc );
             break;
 
         default: