projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f2d23
)
fix bug in seekpoint uniquification
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 25 May 2001 23:15:08 +0000
(23:15 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 25 May 2001 23:15:08 +0000
(23:15 +0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index
b52edf8
..
52cc56a
100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-647,7
+647,7
@@
bool convert_to_seek_table(char *requested_seek_points, int num_requested_seek_p
qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetaData_SeekPoint), (int (*)(const void *, const void *))seekpoint_compare);
/* uniqify the seekpoints */
- first =
fals
e;
+ first =
tru
e;
for(i = j = 0; i < seek_table->num_points; i++) {
if(!first) {
if(seek_table->points[i].sample_number == seek_table->points[j-1].sample_number)