Patch by aurelien: properly test for NULL.

This commit is contained in:
Jean-Paul Saman 2006-10-23 19:05:47 +00:00
parent 54f116c79a
commit 7976d6454b
2 changed files with 2 additions and 1 deletions

1
THANKS
View File

@ -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

View 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++ )
{