summaryrefslogtreecommitdiff
path: root/libavfilter/vf_frei0r.c
diff options
context:
space:
mode:
authorVíctor Paesa <victorpaesa@googlemail.com>2010-10-03 09:49:36 +0000
committerVíctor Paesa <victorpaesa@googlemail.com>2010-10-03 09:49:36 +0000
commit524aae862574cfed0656fd9789edaa66b0817739 (patch)
tree8fb1ac791fdec2bc9202346211bfb581bb7e20a9 /libavfilter/vf_frei0r.c
parent12eef0d1ba55dd0eb36893a0d6e0fa7e04dda122 (diff)
Use SLIBSUF instead of .so, as a more generic dynamic library suffix.
Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_frei0r.c')
-rw-r--r--libavfilter/vf_frei0r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 1303b03c87..9ff325fd38 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -192,7 +192,7 @@ static void *load_path(AVFilterContext *ctx, const char *prefix, const char *nam
{
char path[1024];
- snprintf(path, sizeof(path), "%s%s.so", prefix, name);
+ snprintf(path, sizeof(path), "%s%s%s", prefix, name, SLIBSUF);
av_log(ctx, AV_LOG_DEBUG, "Looking for frei0r effect in '%s'\n", path);
return dlopen(path, RTLD_NOW|RTLD_LOCAL);
}