[vlc-commits] Simple: fix typo

Jean-Baptiste Kempf git at videolan.org
Sun Apr 14 23:33:12 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 14 23:32:34 2013 +0200| [7222bb1d253707d8efa720a9f5f131fb31895c5b] | committer: Jean-Baptiste Kempf

Simple: fix typo

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

 modules/audio_filter/channel_mixer/simple.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_filter/channel_mixer/simple.c b/modules/audio_filter/channel_mixer/simple.c
index 9f35ffc..59572eb 100644
--- a/modules/audio_filter/channel_mixer/simple.c
+++ b/modules/audio_filter/channel_mixer/simple.c
@@ -247,7 +247,7 @@ static int OpenFilter( vlc_object_t *p_this )
         return VLC_EGENERIC;
 
     p_filter->p_sys = malloc( sizeof(*p_sys) );
-    if( unlikely(p_filter->p_sys) )
+    if( unlikely(!p_filter->p_sys) )
         return VLC_ENOMEM;
 
     p_filter->pf_audio_filter = Filter;



More information about the vlc-commits mailing list