Commit 2558586a authored by Rémi Duraffort's avatar Rémi Duraffort

Attach the sap object to libvlc.

(cherry picked from commit 479dc6f7)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent b3342e24
......@@ -108,6 +108,7 @@ sap_handler_t *SAP_Create (vlc_object_t *p_announce)
if (p_sap == NULL)
return NULL;
vlc_object_attach( p_sap, p_announce );
vlc_mutex_init (&p_sap->lock);
p_sap->first = NULL;
return p_sap;
......
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