summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index e3d3d57bd1..67ac16a2be 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -224,7 +224,7 @@ double written_audio_pts(struct MPContext *mpctx)
mp_audio_buffer_get_format(d_audio->decode_buffer, &in_format);
if (!mp_audio_config_valid(&in_format) || !d_audio->afilter)
- return MP_NOPTS_VALUE;;
+ return MP_NOPTS_VALUE;
// first calculate the end pts of audio that has been output by decoder
double a_pts = d_audio->pts;