fix bug with incorrect seek point separator
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 13 Apr 2001 22:59:58 +0000 (22:59 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 13 Apr 2001 22:59:58 +0000 (22:59 +0000)
src/flac/encode.c

index 20634e0..db22af7 100644 (file)
@@ -610,7 +610,7 @@ bool convert_to_seek_table(char *requested_seek_points, int num_requested_seek_p
        /* first count how many individual seek point we may need */
        real_points = placeholders = 0;
        for(i = 0; i < (unsigned)num_requested_seek_points; i++) {
-               q = strchr(pt, ',');
+               q = strchr(pt, '<');
                assert(0 != q);
                *q = '\0';
 
@@ -624,7 +624,7 @@ bool convert_to_seek_table(char *requested_seek_points, int num_requested_seek_p
                else { /* -S # */
                        real_points++;
                }
-               *q++ = ',';
+               *q++ = '<';
 
                pt = q;
        }
@@ -641,7 +641,7 @@ bool convert_to_seek_table(char *requested_seek_points, int num_requested_seek_p
        }
 
        for(i = 0; i < (unsigned)num_requested_seek_points; i++) {
-               q = strchr(pt, ',');
+               q = strchr(pt, '<');
                assert(0 != q);
                *q++ = '\0';