lavfi/frei0r: search plugins in lib64 dirs on all architectures
As Reimar Döffinger pointed out there are non-x86 64bit architectures as well. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -284,7 +284,6 @@ static av_cold int frei0r_init(AVFilterContext *ctx,
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#if ARCH_X86_64
|
|
||||||
if (!s->dl_handle) {
|
if (!s->dl_handle) {
|
||||||
ret = load_path(ctx, &s->dl_handle, "/usr/local/lib64/frei0r-1/", dl_name);
|
ret = load_path(ctx, &s->dl_handle, "/usr/local/lib64/frei0r-1/", dl_name);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
@@ -295,7 +294,6 @@ static av_cold int frei0r_init(AVFilterContext *ctx,
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (!s->dl_handle) {
|
if (!s->dl_handle) {
|
||||||
av_log(ctx, AV_LOG_ERROR, "Could not find module '%s'\n", dl_name);
|
av_log(ctx, AV_LOG_ERROR, "Could not find module '%s'\n", dl_name);
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
Reference in New Issue
Block a user