[vlc-commits] Qt: fix compilation (fixes #13834)

Rémi Denis-Courmont git at videolan.org
Fri Feb 6 22:42:00 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb  6 23:41:34 2015 +0200| [694359e4fdf3f7a6f2a0fc9440b4c529657f6bbb] | committer: Rémi Denis-Courmont

Qt: fix compilation (fixes #13834)

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

 modules/gui/qt4/components/simple_preferences.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 0f04767..5b65da5 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -207,7 +207,7 @@ static int getDefaultAudioVolume(vlc_object_t *obj, const char *aout)
         return -1;
     else
 #ifdef __APPLE__
-    if (!strcmp("auhal") && module_exists("auhal"))
+    if (!strcmp(aout, "auhal") && module_exists("auhal"))
         return (config_GetFloat(obj, "auhal-volume") * 100.f + .5f)
                  / AOUT_VOLUME_DEFAULT;
     else



More information about the vlc-commits mailing list