Commit 216b14b6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Lua: remove cargo cult check for the private data of the input thread

parent 2f846d8c
......@@ -267,7 +267,7 @@ static int vlclua_input_item_get( lua_State *L, input_item_t *p_item )
static int vlclua_input_item_get_current( lua_State *L )
{
input_thread_t *p_input = vlclua_get_input_internal( L );
input_item_t *p_item = ( p_input && p_input->p ) ? input_GetItem( p_input ) : NULL;
input_item_t *p_item = p_input ? input_GetItem( p_input ) : NULL;
if( !p_item )
{
lua_pushnil( L );
......
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