[vlc-devel] [PATCH 08/13] decoder: remove always true if condition

Steve Lhomme robux4 at ycbcr.xyz
Mon Sep 2 16:20:15 CEST 2019


---
 src/input/decoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index cc69a09f48..c81f23c236 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1167,7 +1167,7 @@ static int DecoderPlayAudio_internal( struct decoder_owner *p_owner, block_t *p_
 
     audio_output_t *p_aout = p_owner->p_aout;
 
-    if( p_aout != NULL && p_audio->i_pts != VLC_TICK_INVALID )
+    if( p_aout != NULL )
     {
         int status = aout_DecPlay( p_aout, p_audio );
         if( status == AOUT_DEC_CHANGED )
-- 
2.17.1



More information about the vlc-devel mailing list