[vlc-devel] [PATCH 2/3] decoder: remove redundant error message
Thomas Guillem
thomas at gllm.fr
Tue Sep 15 16:36:19 CEST 2020
In case of error, the aout is already printing "failed to start audio
output".
---
src/input/decoder.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5e7de43beb4..3d1f2c22061 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -387,10 +387,7 @@ static int ModuleThread_UpdateAudioFormat( decoder_t *p_dec )
vlc_mutex_unlock( &p_owner->lock );
if( p_aout == NULL )
- {
- msg_Err( p_dec, "failed to create audio output" );
return -1;
- }
p_dec->fmt_out.audio.i_bytes_per_frame =
p_owner->fmt.audio.i_bytes_per_frame;
--
2.28.0
More information about the vlc-devel
mailing list