# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
#include <directfb.h>
/* Allocate structure */
p_vout->p_sys = p_sys = malloc( sizeof( vout_sys_t ) );
if( !p_sys )
- {
- msg_Err( p_vout, "out of memory" );
return VLC_ENOMEM;
- }
p_sys->p_directfb = NULL;
p_sys->p_primary = NULL;