From 67db5da6a10af7538ffd9d0c2f568be0eee87dde Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 13 Apr 2001 22:59:58 +0000 Subject: [PATCH] fix bug with incorrect seek point separator --- src/flac/encode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flac/encode.c b/src/flac/encode.c index 20634e0d..db22af7a 100644 --- a/src/flac/encode.c +++ b/src/flac/encode.c @@ -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';