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:
a242b3c
)
add assertions
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 16 Aug 2002 05:40:16 +0000
(
05:40
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 16 Aug 2002 05:40:16 +0000
(
05:40
+0000)
src/libFLAC/format.c
patch
|
blob
|
history
diff --git
a/src/libFLAC/format.c
b/src/libFLAC/format.c
index
ecf4127
..
0e8d5f4
100644
(file)
--- a/
src/libFLAC/format.c
+++ b/
src/libFLAC/format.c
@@
-169,6
+169,8
@@
unsigned FLAC__format_seektable_sort(FLAC__StreamMetadata_SeekTable *seek_table)
unsigned i, j;
FLAC__bool first;
+ FLAC__ASSERT(0 != seek_table);
+
/* sort the seekpoints */
qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetadata_SeekPoint), (int (*)(const void *, const void *))seekpoint_compare_);