diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2001-05-31 20:11:02 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2001-05-31 20:11:02 +0000 |
commit | 1b68982b0e24cd4a24780a2dece42e50b9186517 (patch) | |
tree | 99fd3662d240f7f91e18023341667e8eddd34792 /src/libFLAC/fixed.c | |
parent | 88f94d0fb3916ecdddaa9c83eef7d927999a7a0a (diff) | |
download | flac-1b68982b0e24cd4a24780a2dece42e50b9186517.tar.gz |
put a FLAC__ASSERT wrapper around assert()
Diffstat (limited to 'src/libFLAC/fixed.c')
-rw-r--r-- | src/libFLAC/fixed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libFLAC/fixed.c b/src/libFLAC/fixed.c index 5c5cfe86..8fd6a5da 100644 --- a/src/libFLAC/fixed.c +++ b/src/libFLAC/fixed.c @@ -17,9 +17,9 @@ * Boston, MA 02111-1307, USA. */ -#include <assert.h> #include <math.h> #include "private/fixed.h" +#include "FLAC/assert.h" #ifndef M_LN2 /* math.h in VC++ doesn't seem to have this (how Microsoft is that?) */ @@ -162,7 +162,7 @@ void FLAC__fixed_compute_residual(const int32 data[], unsigned data_len, unsigne } break; default: - assert(0); + FLAC__ASSERT(0); } } @@ -200,6 +200,6 @@ void FLAC__fixed_restore_signal(const int32 residual[], unsigned data_len, unsig } break; default: - assert(0); + FLAC__ASSERT(0); } } |