[vlc-commits] rd: fix build on macOS

Thomas Guillem git at videolan.org
Tue May 16 11:18:31 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 16 11:16:16 2017 +0200| [3070f3d60e1b76d3d45bf5e4f91fae71af9df6f5] | committer: Thomas Guillem

rd: fix build on macOS

This is a fix-up of c91959027c95c3fecb51df3f6cd83af30ef2a7b8

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3070f3d60e1b76d3d45bf5e4f91fae71af9df6f5
---

 modules/gui/macosx/VLCRendererDiscovery.m | 2 +-
 src/libvlccore.sym                        | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/gui/macosx/VLCRendererDiscovery.m b/modules/gui/macosx/VLCRendererDiscovery.m
index c52485da12..f238219324 100644
--- a/modules/gui/macosx/VLCRendererDiscovery.m
+++ b/modules/gui/macosx/VLCRendererDiscovery.m
@@ -78,7 +78,7 @@ static void renderer_event_item_removed(vlc_renderer_discovery_t *rd,
 {
     struct vlc_renderer_discovery_owner owner =
     {
-        self,
+        (__bridge void *) self,
         renderer_event_item_added,
         renderer_event_item_removed,
     };
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index bfc57ab598..62f01fd06a 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -762,6 +762,4 @@ vlc_rd_get_names
 vlc_rd_new
 vlc_rd_release
 vlc_rd_start
-vlc_rd_add_item
-vlc_rd_remove_item
 vlc_rd_probe_add



More information about the vlc-commits mailing list