summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffplay.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ffplay.c b/ffplay.c
index 58f328426f..7c2437d03d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2406,11 +2406,7 @@ static void opt_sync(const char *arg)
static void opt_seek(const char *arg)
{
- start_time = parse_date(arg, 1);
- if (start_time == INT64_MIN) {
- fprintf(stderr, "Invalid duration specification: %s\n", arg);
- exit(1);
- }
+ start_time = parse_time_or_die("ss", arg, 1);
}
static int opt_debug(const char *opt, const char *arg)