[vlc-commits] [Git][videolan/vlc][master] 5 commits: access: dv: do not log error on ENOMEM
Tristan Matthews (@tmatth)
gitlab at videolan.org
Tue Jan 24 00:43:53 UTC 2023
Tristan Matthews pushed to branch master at VideoLAN / VLC
Commits:
bb84763e by Tristan Matthews at 2023-01-24T00:30:38+00:00
access: dv: do not log error on ENOMEM
- - - - -
bf06b9b9 by Tristan Matthews at 2023-01-24T00:30:38+00:00
waveout: do not log error on ENOMEM
- - - - -
d6d568a3 by Tristan Matthews at 2023-01-24T00:30:38+00:00
codec: opus: do not log error on ENOMEM
- - - - -
8730a245 by Tristan Matthews at 2023-01-24T00:30:38+00:00
vaapi: chroma: do not log error on ENOMEM
- - - - -
adde4af8 by Tristan Matthews at 2023-01-24T00:30:38+00:00
dynamicoverlay: do not log error on ENOMEM
- - - - -
5 changed files:
- modules/access/dv.c
- modules/audio_output/waveout.c
- modules/codec/opus.c
- modules/hw/vaapi/chroma.c
- modules/spu/dynamicoverlay/dynamicoverlay_commands.c
Changes:
=====================================
modules/access/dv.c
=====================================
@@ -200,7 +200,6 @@ static int Open( vlc_object_t *p_this )
p_sys->p_ev = calloc( 1, sizeof( *p_sys->p_ev ) );
if( !p_sys->p_ev )
{
- msg_Err( p_access, "failed to create event thread struct" );
Close( p_this );
return VLC_ENOMEM;
}
=====================================
modules/audio_output/waveout.c
=====================================
@@ -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;
=====================================
modules/codec/opus.c
=====================================
@@ -814,7 +814,6 @@ static int OpenEncoder(vlc_object_t *p_this)
if (opus_write_header((uint8_t **) &enc->fmt_out.p_extra,
&enc->fmt_out.i_extra, &header, opus_get_version_string()))
{
- msg_Err(enc, "Failed to write header.");
status = VLC_ENOMEM;
goto error;
}
=====================================
modules/hw/vaapi/chroma.c
=====================================
@@ -354,7 +354,6 @@ vlc_vaapi_OpenChroma(filter_t *filter)
if (!(filter_sys = calloc(1, sizeof(filter_sys_t))))
{
- msg_Err(filter, "unable to allocate memory");
return VLC_ENOMEM;
}
filter_sys->derive_failed = false;
=====================================
modules/spu/dynamicoverlay/dynamicoverlay_commands.c
=====================================
@@ -471,7 +471,6 @@ static int exec_DataSharedMem( filter_t *p_filter,
p_ovl->data.p_text = malloc( p_params->i_width );
if( p_ovl->data.p_text == NULL )
{
- msg_Err( p_filter, "Unable to allocate string storage" );
return VLC_ENOMEM;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a632b0dfe2a99a46055caf6cc945f6dd366433f4...adde4af8678f81d97ccc641f0837d8feac4ae538
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a632b0dfe2a99a46055caf6cc945f6dd366433f4...adde4af8678f81d97ccc641f0837d8feac4ae538
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list