diff options
Diffstat (limited to 'sub/sd_lavc.c')
-rw-r--r-- | sub/sd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_lavc.c b/sub/sd_lavc.c index e805d5c34c..81d8ccfa7d 100644 --- a/sub/sd_lavc.c +++ b/sub/sd_lavc.c @@ -561,7 +561,7 @@ static double step_sub(struct sd *sd, double now, int movement) movement -= direction; } while (movement); - return best < 0 ? 0 : priv->seekpoints[best].pts - now; + return best < 0 ? now : priv->seekpoints[best].pts; } static int control(struct sd *sd, enum sd_ctrl cmd, void *arg) |