client API: also export mpv_stream_cb_add_ro

20c4036daa 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.
This commit is contained in:
Dudemanguy 2022-03-11 08:07:13 -06:00
parent 919de742a4
commit 199a7ebcd9
1 changed files with 2 additions and 2 deletions

View File

@ -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
}