Commit 14eaaddf authored by conrad's avatar conrad

parse start and end timestamps in arguments of commandline oggz-chop


git-svn-id: http://svn.annodex.net/liboggz/trunk@3560 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 17d1e488
......@@ -7,6 +7,7 @@
#include <getopt.h>
#include "oggz-chop.h"
#include "timespec.h"
static char * progname;
......@@ -73,10 +74,10 @@ cmd_main (OCState * state, int argc, char * argv[])
switch (i) {
case 's': /* start */
state->start = atof (optarg);
state->start = parse_timespec (optarg);
break;
case 'e': /* end */
state->end = atof (optarg);
state->end = parse_timespec (optarg);
break;
case 'h': /* help */
show_help = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment