[vlc-devel] [PATCH 7/8] decoder: remove always true if condition
Steve Lhomme
robux4 at ycbcr.xyz
Tue Aug 27 07:27:18 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 3b225dcc1f..3f60c453c0 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1177,7 +1177,7 @@ static bool DecoderPlayAudio( decoder_t *p_dec, block_t *p_audio )
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