From 75292afe5ce95fa37f363c61270d74bc6685ef67 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Mon, 24 Feb 2003 23:28:18 +0000 Subject: [PATCH] * stream_output.c : added a sanity check. --- src/stream_output/stream_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1