[FFmpeg-cvslog] r12653 - trunk/ffplay.c

superdump subversion
Mon Mar 31 18:53:19 CEST 2008


Author: superdump
Date: Mon Mar 31 18:53:19 2008
New Revision: 12653

Log:
Make ffplay.c:opt_seek use parse_time_or_die

Patch by Stefano Sabatini (stefano sabatini-lala poste it)


Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Mon Mar 31 18:53:19 2008
@@ -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)




More information about the ffmpeg-cvslog mailing list