mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
avfilter/af_ladspa: check another directory for plugins
This commit is contained in:
parent
9a24610bf7
commit
842bc312ad
@ -426,6 +426,11 @@ static av_cold int init(AVFilterContext *ctx)
|
||||
}
|
||||
|
||||
av_free(paths);
|
||||
if (!s->dl_handle && (paths = av_asprintf("%s/.ladspa", getenv("HOME")))) {
|
||||
s->dl_handle = try_load(paths, s->dl_name);
|
||||
av_free(paths);
|
||||
}
|
||||
|
||||
if (!s->dl_handle && (paths = av_asprintf("%s/.ladspa/lib", getenv("HOME")))) {
|
||||
s->dl_handle = try_load(paths, s->dl_name);
|
||||
av_free(paths);
|
||||
|
Loading…
x
Reference in New Issue
Block a user