Commit bdd834f0 authored by Marvin Scholz's avatar Marvin Scholz

gui/minimal_macosx: Fix compilation

parent 80ac1237
......@@ -25,7 +25,7 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#import "VLCMain.h"
#import "VLCMinimalVoutWindow.h"
#import "misc.h"
......
......@@ -35,9 +35,9 @@
#include <vlc_common.h>
#include <vlc_playlist.h>
#include <vlc_interface.h>
#include <vlc_vout_window.h>
#import "VLCMain.h"
#import "VLCMinimalVoutWindow.h"
/*****************************************************************************
......@@ -53,11 +53,7 @@ int OpenIntf (vlc_object_t *p_this)
intf_thread_t *p_intf = (intf_thread_t*) p_this;
msg_Dbg(p_intf, "Using minimal macosx interface");
p_intf->p_sys = malloc(sizeof(intf_sys_t));
if (p_intf->p_sys == NULL)
return VLC_ENOMEM;
memset(p_intf->p_sys, 0, sizeof(*p_intf->p_sys));
p_intf->p_sys = NULL;
Run(p_intf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment