提交 85362796 编写于 作者: S Stefano Sabatini 提交者: Robert Swain

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
上级 1354fa64
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册