[ogg-dev] [xiph-commits] r3789 - liboggz/trunk/src/tools/oggz-chop

Ralph Giles giles at xiph.org
Mon Nov 17 14:56:21 PST 2008


On Mon, Nov 17, 2008 at 1:34 PM,  <conrad at svn.annodex.net> wrote:

>   if (!strncmp ("t", key, 2)) {
> -    if ((sep = strchr (val, '/')) != NULL) {
> +    if (val && (sep = strchr (val, '/')) != NULL) {
>       *sep++ = '\0';
>       state->end = parse_timespec (sep);
>     }

Is is ok here for set_param to set the start time but not the end
time? I guess it's initialized to -1.0 in cgi_main?

 -r


More information about the ogg-dev mailing list