* 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>
switch( (char)buf )
{
case 'q':
- p_vout->p_libvlc->b_die = 1;
+ vlc_object_kill( p_vout->p_libvlc );
break;
default: