You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Make ffplay.c:opt_seek use parse_time_or_die
Patch by Stefano Sabatini (stefano sabatini-lala poste it) Originally committed as revision 12653 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Robert Swain
parent
1354fa6442
commit
85362796be
6
ffplay.c
6
ffplay.c
@@ -2406,11 +2406,7 @@ static void opt_sync(const char *arg)
|
|||||||
|
|
||||||
static void opt_seek(const char *arg)
|
static void opt_seek(const char *arg)
|
||||||
{
|
{
|
||||||
start_time = parse_date(arg, 1);
|
start_time = parse_time_or_die("ss", arg, 1);
|
||||||
if (start_time == INT64_MIN) {
|
|
||||||
fprintf(stderr, "Invalid duration specification: %s\n", arg);
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int opt_debug(const char *opt, const char *arg)
|
static int opt_debug(const char *opt, const char *arg)
|
||||||
|
Reference in New Issue
Block a user