56431b6922
- updates all imports to prefix kivy_ios - adds basic `setup.py` file - adds a simple `toolchain.py` to the root folder for compat Makes it possible to install kivy-ios from PyPI: ``` pip install kivy-ios toolchain --help ``` Note the `rebuild_updated_recipes.py` is expected to fail as we moved all the recipes. This is a working, but unperfect iteration that come with limitations we would address in subsequent pull requests, such as: - the new usage is not yet documented - CI is not testing the source distribution creation and install - Continuous Delivery to PyPI is not in place - `toolchain` binary is a bit too generic name - we're still vendoring things under `tools/`
41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
diff --git a/ffpyplayer/clib/misc.c b/ffpyplayer/clib/misc.c
|
|
index 55181d1..6011ffa 100644
|
|
--- a/ffpyplayer/clib/misc.c
|
|
+++ b/ffpyplayer/clib/misc.c
|
|
@@ -1,8 +1,7 @@
|
|
-
|
|
#include "misc.h"
|
|
|
|
#define FLAGS (o->type == AV_OPT_TYPE_FLAGS) ? AV_DICT_APPEND : 0
|
|
-void print_all_libs_info(int flags, int level)
|
|
+void __attribute__ ((visibility ("hidden"))) print_all_libs_info(int flags, int level)
|
|
{
|
|
#if CONFIG_AVUTIL
|
|
PRINT_LIB_INFO(avutil, AVUTIL, flags, level);
|
|
@@ -30,7 +29,7 @@ void print_all_libs_info(int flags, int level)
|
|
#endif
|
|
}
|
|
|
|
-const AVOption *opt_find(void *obj, const char *name, const char *unit,
|
|
+const AVOption __attribute__ ((visibility ("hidden"))) *opt_find(void *obj, const char *name, const char *unit,
|
|
int opt_flags, int search_flags)
|
|
{
|
|
const AVOption *o = av_opt_find(obj, name, unit, opt_flags, search_flags);
|
|
@@ -40,7 +39,7 @@ const AVOption *opt_find(void *obj, const char *name, const char *unit,
|
|
}
|
|
|
|
#define FLAGS (o->type == AV_OPT_TYPE_FLAGS) ? AV_DICT_APPEND : 0
|
|
-int opt_default(const char *opt, const char *arg,
|
|
+int __attribute__ ((visibility ("hidden"))) opt_default(const char *opt, const char *arg,
|
|
struct SwsContext *sws_opts, AVDictionary **sws_dict, AVDictionary **swr_opts,
|
|
AVDictionary **resample_opts, AVDictionary **format_opts, AVDictionary **codec_opts)
|
|
{
|
|
@@ -140,7 +139,7 @@ int opt_default(const char *opt, const char *arg,
|
|
return AVERROR_OPTION_NOT_FOUND;
|
|
}
|
|
|
|
-int get_plane_sizes(int size[4], int required_plane[4], enum AVPixelFormat pix_fmt,
|
|
+int __attribute__ ((visibility ("hidden"))) get_plane_sizes(int size[4], int required_plane[4], enum AVPixelFormat pix_fmt,
|
|
int height, const int linesizes[4])
|
|
{
|
|
int i, total_size;
|