Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
bf06b9b9
Commit
bf06b9b9
authored
Jan 20, 2023
by
Tristan Matthews
Browse files
waveout: do not log error on ENOMEM
parent
bb84763e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_output/waveout.c
View file @
bf06b9b9
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment