git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1354fa6
)
Make ffplay.c:opt_seek use parse_time_or_die
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Mon, 31 Mar 2008 16:53:19 +0000
(16:53 +0000)
committer
Robert Swain
<robert.swain@gmail.com>
Mon, 31 Mar 2008 16:53:19 +0000
(16:53 +0000)
Patch by Stefano Sabatini (stefano sabatini-lala poste it)
Originally committed as revision 12653 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
58f3284
..
7c2437d
100644
(file)
--- 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)