[vlc-commits] codec/audiotoolbox_midi: Add accidentally removed prefix
Marvin Scholz
git at videolan.org
Wed Mar 28 14:17:44 CEST 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 28 14:16:47 2018 +0200| [e084f90a5a72a9079980c8cc7fe4ac9a901cfc51] | committer: Marvin Scholz
codec/audiotoolbox_midi: Add accidentally removed prefix
This would cause the audiotoolbox_midi module to crash as the option
it later looks for (with prefix) is non-existent.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e084f90a5a72a9079980c8cc7fe4ac9a901cfc51
---
modules/codec/audiotoolbox_midi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/audiotoolbox_midi.c b/modules/codec/audiotoolbox_midi.c
index 296d53b19e..8adf545980 100644
--- a/modules/codec/audiotoolbox_midi.c
+++ b/modules/codec/audiotoolbox_midi.c
@@ -60,7 +60,7 @@ vlc_module_begin()
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_ACODEC)
set_callbacks(Open, Close)
- add_loadfile("soundfont", "",
+ add_loadfile(CFG_PREFIX "soundfont", "",
SOUNDFONT_TEXT, SOUNDFONT_LONGTEXT, false)
vlc_module_end()
More information about the vlc-commits
mailing list