diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 3199bd4137..759e349e90 100644 --- a/player/command.c +++ b/player/command.c @@ -390,7 +390,7 @@ static bool time_remaining(MPContext *mpctx, double *remaining) *remaining = len - (pos - start); - return !!(int)len; + return len > 0; } static int mp_property_remaining(m_option_t *prop, int action, |