[vlc-commits] equalizer: fix a wrong comparison
Adrien Maglo
git at videolan.org
Tue Jun 24 16:10:18 CEST 2014
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Jun 24 15:12:46 2014 +0200| [400c8feb03f76354c4b79fc6f150156c3484d398] | committer: Adrien Maglo
equalizer: fix a wrong comparison
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=400c8feb03f76354c4b79fc6f150156c3484d398
---
modules/audio_filter/equalizer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_filter/equalizer.c b/modules/audio_filter/equalizer.c
index f8ca033..6603dc9 100644
--- a/modules/audio_filter/equalizer.c
+++ b/modules/audio_filter/equalizer.c
@@ -345,7 +345,7 @@ static int EqzInit( filter_t *p_filter, int i_rate )
var_Get( p_aout, "equalizer-preamp", &val3 );
/* Load the preset only if equalizer-bands is not set. */
- if (val2.psz_string != NULL && *val2.psz_string != "\0")
+ if ( val2.psz_string != NULL && *val2.psz_string != '\0' )
PresetCallback( VLC_OBJECT( p_aout ), NULL, val1, val1, p_sys );
free( val1.psz_string );
BandsCallback( VLC_OBJECT( p_aout ), NULL, val2, val2, p_sys );
More information about the vlc-commits
mailing list