some compil warning fixes

Origin commit data
------------------
Branch: ni/coolstream
Commit: a471b2af10
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-23 (Sat, 23 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-04-23 21:19:04 +02:00
parent d4334efc13
commit 3f94be0a5a
4 changed files with 8 additions and 6 deletions

View File

@@ -152,7 +152,8 @@ int CLuaInstVideo::PlayFile(lua_State *L)
bool sp = false;
if (luaL_testudata(L, 1, LUA_CLASSNAME) == NULL)
sp = D->singlePlay;
if (D)
sp = D->singlePlay;
if ((sp == false) && (CMoviePlayerGui::getInstance().getBlockedFromPlugin() == false))
CMoviePlayerGui::getInstance().setBlockedFromPlugin(true);