From: Laurent Aimar Date: Mon, 24 Feb 2003 23:28:18 +0000 (+0000) Subject: * stream_output.c : added a sanity check. X-Git-Tag: 0.5.2~92 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=75292afe5ce95fa37f363c61270d74bc6685ef67;ds=inline * stream_output.c : added a sanity check. --- diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c index f37256d2e0..fbe00a56bf 100644 --- a/src/stream_output/stream_output.c +++ b/src/stream_output/stream_output.c @@ -2,7 +2,7 @@ * stream_output.c : stream output module ***************************************************************************** * Copyright (C) 2002 VideoLAN - * $Id: stream_output.c,v 1.14 2003/02/24 12:34:29 fenrir Exp $ + * $Id: stream_output.c,v 1.15 2003/02/24 23:28:18 fenrir Exp $ * * Authors: Christophe Massiot * Laurent Aimar @@ -727,7 +727,7 @@ void sout_BufferChain( sout_buffer_t **pp_chain, { *pp_chain = p_buffer; } - else + else if( p_buffer != NULL ) { sout_buffer_t *p = *pp_chain;