]> git.sesse.net Git - vlc/commitdiff
Remove useless error messages when allocation of structures failed.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 2 Mar 2008 17:16:21 +0000 (18:16 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 2 Mar 2008 17:19:59 +0000 (18:19 +0100)
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
modules/mux/mpeg/ts.c

index 81b5290bcd1a7c5b57ad0245253498cbd0378954..99bdcfd3e587edf6a39dc188f5ac936f39080b80 100644 (file)
@@ -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;
         }
     }