[vlc-commits] commit: MacOS: fixes #3772 (disabling macosx-eq-keep causes crash). ( Sebastien Zwickert )

git at videolan.org git at videolan.org
Sat Jun 26 20:34:59 CEST 2010


vlc/vlc-1.1 | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Sat Jun 26 18:11:19 2010 +0200| [f1a11e127bf75c43753d24ebdaef5e6e0b2caed0] | committer: Jean-Baptiste Kempf 

MacOS: fixes #3772 (disabling macosx-eq-keep causes crash).
(cherry picked from commit e9bc095a5d8534cb4b700d85097ae2ccbbcbb5c2)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/macosx/equalizer.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 7d16a50..1809b1f 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -113,7 +113,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
 static bool GetFiltersStatus( intf_thread_t *p_intf,
                                  char *psz_name )
 {
-    char *psz_parser, *psz_string;
+    char *psz_parser, *psz_string = NULL;
     vlc_object_t *p_object = VLC_OBJECT(getAout());
     if( p_object == NULL )
         p_object = vlc_object_hold(pl_Get( p_intf ));



More information about the vlc-commits mailing list