about summary refs log tree commit
path: root/src/libFLAC/format.c
diff options
context:
space:
mode:
authorjcoalson <jcoalson>2002-08-16 05:40:16 +0000
committerjcoalson <jcoalson>2002-08-16 05:40:16 +0000
commit63b919e2876127e0305342079c59e3ebd218c4a6 (patch)
tree34cdd13dca2cb901a3f363a28ecf9e19259f3671 /src/libFLAC/format.c
parent2375334281bf50d3e0917fd47a611876dc263250 (diff)
downloadflac-arm-1.1.3-63b919e2876127e0305342079c59e3ebd218c4a6.tar.gz
add assertions
Diffstat (limited to 'src/libFLAC/format.c')
-rw-r--r--src/libFLAC/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index ecf4127f..0e8d5f48 100644
--- 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_);