[vlc-commits] codec/audiotoolbox_midi: Add accidentally removed prefix

Marvin Scholz git at videolan.org
Thu Apr 12 17:10:37 CEST 2018


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 28 14:16:47 2018 +0200| [d38b31b93df0f728a5a0526a5d4a82a752457b60] | committer: Hugo Beauzée-Luyssen

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.

(cherry picked from commit e084f90a5a72a9079980c8cc7fe4ac9a901cfc51)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d38b31b93df0f728a5a0526a5d4a82a752457b60
---

 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