This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 878fb73135 libavfilter/vf_frei0r: use .so suffix for plugins on macOS
878fb73135 is described below
commit 878fb731357c8e935afe62381d5c289a842c8f5d
Author: Romain Beauxis <[email protected]>
AuthorDate: Tue Mar 17 09:45:24 2026 -0500
Commit: toots <[email protected]>
CommitDate: Sun Mar 22 14:27:36 2026 +0000
libavfilter/vf_frei0r: use .so suffix for plugins on macOS
---
libavfilter/vf_frei0r.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index fc1b15821e..66ee71ca1b 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -43,6 +43,13 @@
#include "formats.h"
#include "video.h"
+#ifdef __APPLE__
+/* frei0r plugins use .so on macOS */
+#define FREI0R_SLIBSUF ".so"
+#else
+#define FREI0R_SLIBSUF SLIBSUF
+#endif
+
typedef f0r_instance_t (*f0r_construct_f)(unsigned int width, unsigned int
height);
typedef void (*f0r_destruct_f)(f0r_instance_t instance);
typedef void (*f0r_deinit_f)(void);
@@ -173,7 +180,7 @@ static int set_params(AVFilterContext *ctx, const char
*params)
static int load_path(AVFilterContext *ctx, void **handle_ptr, const char
*prefix, const char *name)
{
- char *path = av_asprintf("%s%s%s", prefix, name, SLIBSUF);
+ char *path = av_asprintf("%s%s%s", prefix, name, FREI0R_SLIBSUF);
if (!path)
return AVERROR(ENOMEM);
av_log(ctx, AV_LOG_DEBUG, "Looking for frei0r effect in '%s'.\n", path);
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]