summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 5d60088f7d..13498502b6 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -311,10 +311,6 @@ void queue_seek(struct MPContext *mpctx, enum seek_type type, double amount,
seek->exact = exact;
if (seek->type == MPSEEK_ABSOLUTE)
return;
- if (seek->amount == 0) {
- *seek = (struct seek_params){ 0 };
- return;
- }
seek->type = MPSEEK_RELATIVE;
return;
case MPSEEK_ABSOLUTE: