From 199a7ebcd9178bbc619039f0a42e63124018b24a Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 11 Mar 2022 08:07:13 -0600 Subject: [PATCH] client API: also export mpv_stream_cb_add_ro 20c4036daa680ebf9d379c9a7566bcf3ae12d405 switched to hiding all symbols by default and exporting the ones we want with MPV_EXPORT. However, the mpv_stream_cb_add_ro function was missed and it is part of the client API. Export it too. Fixes #9971. --- libmpv/stream_cb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpv/stream_cb.h b/libmpv/stream_cb.h index 63593d7228..7482203637 100644 --- a/libmpv/stream_cb.h +++ b/libmpv/stream_cb.h @@ -230,8 +230,8 @@ typedef int (*mpv_stream_cb_open_ro_fn)(void *user_data, char *uri, * callback. * @return error code */ -int mpv_stream_cb_add_ro(mpv_handle *ctx, const char *protocol, void *user_data, - mpv_stream_cb_open_ro_fn open_fn); +MPV_EXPORT int mpv_stream_cb_add_ro(mpv_handle *ctx, const char *protocol, void *user_data, + mpv_stream_cb_open_ro_fn open_fn); #ifdef __cplusplus }