[xiph-commits] r3794 - liboggz/trunk/src/tools/oggz-chop
conrad at svn.annodex.net
conrad at svn.annodex.net
Mon Nov 17 15:35:57 PST 2008
Author: conrad
Date: 2008-11-17 15:35:56 -0800 (Mon, 17 Nov 2008)
New Revision: 3794
Modified:
liboggz/trunk/src/tools/oggz-chop/cgi.c
Log:
oggz-chop: explicitly set state->end when parsing cgi parameter t,
no matter what the default value was -- this is correct and more robust.
Thanks Ralph for reviewing.
Modified: liboggz/trunk/src/tools/oggz-chop/cgi.c
===================================================================
--- liboggz/trunk/src/tools/oggz-chop/cgi.c 2008-11-17 23:32:11 UTC (rev 3793)
+++ liboggz/trunk/src/tools/oggz-chop/cgi.c 2008-11-17 23:35:56 UTC (rev 3794)
@@ -28,6 +28,8 @@
if (val && (sep = strchr (val, '/')) != NULL) {
*sep++ = '\0';
state->end = parse_timespec (sep);
+ } else {
+ state->end = -1.0;
}
state->start = parse_timespec (val);
}
More information about the commits
mailing list