[vlc-devel] [PATCH 07/11] decoder: remove always true if condition
Steve Lhomme
robux4 at ycbcr.xyz
Fri Aug 30 08:26:58 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 eb704ac419..3f063ad019 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1167,7 +1167,7 @@ static int DecoderPlayAudio( struct decoder_owner *p_owner, 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