[vlc-devel] Jean-Paul Saman : Remove useless error messages when allocation of structures failed.
git version control
git at videolan.org
Sun Mar 2 18:24:11 CET 2008
Module: vlc
Branch: master
Commit: 85de3792306ce30051d41c255dd8f80ce42d4b61
URL: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85de3792306ce30051d41c255dd8f80ce42d4b61
Author: Jean-Paul Saman <jpsaman at videolan.org>
Date: Sun Mar 2 18:16:21 2008 +0100
Remove useless error messages when allocation of structures failed.
Signed-off-by: Jean-Paul Saman <jpsaman at videolan.org>
---
modules/mux/mpeg/ts.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 81b5290..99bdcfd 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -1025,7 +1025,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_stream->lang = malloc(p_stream->i_langs*3);
if( !p_stream->lang )
{
- msg_Err( p_mux, "cannot add new stream, out of memory" );
p_stream->i_langs = 0;
free( p_stream );
return VLC_ENOMEM;
@@ -2255,7 +2254,6 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
p_sys->dvbpmt = malloc( p_sys->i_num_pmt * sizeof(dvbpsi_pmt_t) );
if( !p_sys->dvbpmt )
{
- msg_Err( p_mux, "cannot generate a new pmt, out of memory" );
return;
}
}
More information about the vlc-devel
mailing list