Skip to content
Snippets Groups Projects
Commit 91815b7b authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Mosaic: don't reinvent GetAddress

parent 535cb1f3
No related branches found
No related tags found
No related merge requests found
......@@ -43,17 +43,6 @@ typedef struct bridge_t
static bridge_t *GetBridge( vlc_object_t *p_object )
{
vlc_object_t *p_libvlc = VLC_OBJECT( p_object->p_libvlc );
vlc_value_t val;
if( var_Get( p_libvlc, "mosaic-struct", &val ) != VLC_SUCCESS )
{
return NULL;
}
else
{
return val.p_address;
}
return var_GetAddress(VLC_OBJECT(p_object->p_libvlc), "mosaic-struct");
}
#define GetBridge(a) GetBridge( VLC_OBJECT(a) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment