Skip to content
Snippets Groups Projects
Commit 4f3ebb95 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

fluidsynth: search /usr/share/soundfonts (fixes #25742)

parent 7c963ccf
No related branches found
No related tags found
No related merge requests found
Pipeline #70031 passed with stages
in 32 minutes and 49 seconds
......@@ -127,7 +127,10 @@ static int Open (vlc_object_t *p_this)
{
glob_t gl;
glob ("/usr/share/sounds/sf2/*.sf2", GLOB_NOESCAPE, NULL, &gl);
glob("/usr/share/sounds/sf2/*.sf2", GLOB_NOESCAPE, NULL, &gl);
glob("/usr/share/soundfonts/*.sf2", GLOB_NOESCAPE | GLOB_APPEND, NULL,
&gl);
for (size_t i = 0; i < gl.gl_pathc; i++)
{
const char *path = gl.gl_pathv[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment