Commit bf06b9b9 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

waveout: do not log error on ENOMEM

parent bb84763e
......@@ -320,7 +320,6 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
malloc( sys->i_buffer_size );
if( sys->p_silence_buffer == NULL )
{
msg_Err( p_aout, "Couldn't alloc silence buffer... aborting");
return VLC_ENOMEM;
}
sys->i_repeat_counter = 0;
......@@ -354,7 +353,6 @@ static void Play( audio_output_t *p_aout, block_t *block, vlc_tick_t date )
(struct lkwavehdr *) malloc(sizeof(struct lkwavehdr));
if(!p_waveheader)
{
msg_Err(p_aout, "Couldn't alloc WAVEHDR");
if( block )
block_Release( block );
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment