[vlc-commits] decoder: remove redundant error message

Thomas Guillem git at videolan.org
Thu Sep 17 11:15:50 CEST 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Sep 15 16:23:51 2020 +0200| [10d691afe099775a991125096fcde9ccaf2dcf22] | committer: Thomas Guillem

decoder: remove redundant error message

In case of error, the aout is already printing "failed to start audio
output".

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10d691afe099775a991125096fcde9ccaf2dcf22
---

 src/input/decoder.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5e7de43beb..3d1f2c2206 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;



More information about the vlc-commits mailing list