Commit 8e412400 authored by Marton Balint's avatar Marton Balint Committed by Michael Niedermayer

lavfi/frei0r: load plugins from lib64 folders as well on 64bit builds

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1ff42685
......@@ -284,6 +284,18 @@ static av_cold int frei0r_init(AVFilterContext *ctx,
if (ret < 0)
return ret;
}
#if ARCH_X86_64
if (!s->dl_handle) {
ret = load_path(ctx, &s->dl_handle, "/usr/local/lib64/frei0r-1/", dl_name);
if (ret < 0)
return ret;
}
if (!s->dl_handle) {
ret = load_path(ctx, &s->dl_handle, "/usr/lib64/frei0r-1/", dl_name);
if (ret < 0)
return ret;
}
#endif
if (!s->dl_handle) {
av_log(ctx, AV_LOG_ERROR, "Could not find module '%s'\n", dl_name);
return AVERROR(EINVAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment