Commit 9dd4c6e1 authored by Martin Finkel's avatar Martin Finkel
Browse files

Fix editor crash

Removed leftover abort from development

https://code.videolan.org/mfkl/vlc-unity/issues/25
parent fe4c5331
......@@ -19,7 +19,6 @@ static int g_TextureHeight = 0;
static int g_TextureRowPitch = 0;
libvlc_instance_t * inst;
libvlc_media_player_t * mp;
static IUnityGraphics* s_Graphics = NULL;
static std::map<libvlc_media_player_t*,RenderAPI*> contexts = {};
......@@ -69,8 +68,8 @@ CreateAndInitMediaPlayer(libvlc_instance_t* libvlc)
return NULL;
}
if(mp != NULL)
abort();
libvlc_media_player_t * mp;
mp = libvlc_media_player_new(inst);
RenderAPI* s_CurrentAPI;
......
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