]> git.sesse.net Git - vlc/blobdiff - modules/video_output/ggi.c
* modules/video_output/x11/*: manually paint the xv colour key if XV_AUTOPAINT_COLORK...
[vlc] / modules / video_output / ggi.c
index c1a672f004caded3456faf77cec4734ca5056018..0d697d284ea8abec6f6a9e3a9f1f2f795058922e 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
 #include <errno.h>                                                 /* ENOMEM */
 
 #include <ggi/ggi.h>
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 #include <vlc_vout.h>
@@ -293,7 +295,7 @@ static int Manage( vout_thread_t *p_vout )
                     case 'q':
                     case 'Q':
                     case GIIUC_Escape:
-                        p_vout->p_libvlc->b_die = 1;
+                        vlc_object_kill( p_vout->p_libvlc );
                         break;
 
                     default: