]> git.sesse.net Git - vlc/commitdiff
Patch by aurelien: properly test for NULL.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 23 Oct 2006 19:05:47 +0000 (19:05 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 23 Oct 2006 19:05:47 +0000 (19:05 +0000)
THANKS
modules/stream_out/rtp.c

diff --git a/THANKS b/THANKS
index 14a7f11307606644d47939e9621f9aa30af17678..da9519ffdb839d285c118b05bb60b13e436c4e79 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -22,6 +22,7 @@ Arkadiusz Miskiewicz <misiek at pld.ORG.PL> - autoconf and Makefile patches
 Ari Constâncio <ari.constancio at gmail d0t com> - Portuguese localisation
 Arnaud Gomes-do-Vale <arnaud at carrosse.frmug.org> - autoconf patches
 Arwed v. Merkatz <v.merkatz at gmx dot net> - Gamma correction for adjust filter
+Aurelien - Patch for modules/stream_output/rtp.c proper test for NULL
 Basil Achermann <vlc at acherma dot com> - Patch to handle esc and space key events from VLCControl (OSX)
 Barak Ori <barakori at gmail dot com> - Bidi fixes
 Benjamin Mironer <bmironer at noos.fr> - Mac OS X fixes
index 5decb87f0a0da2627ff7e6b14b1b5c226626b553..b09c0b43ff514b0c6d5c3082dff8adca74fa0390 100644 (file)
@@ -1648,7 +1648,7 @@ static rtsp_client_t *RtspClientGet( sout_stream_t *p_stream, char *psz_session
 {
     int i;
 
-    if( psz_session ) return NULL;
+    if( !psz_session ) return NULL;
 
     for( i = 0; i < p_stream->p_sys->i_rtsp; i++ )
     {