acelp_filters: switch to avassert
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2012 03:02:08 +0000 (05:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2012 03:02:08 +0000 (05:02 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/acelp_filters.c

index 5260d0d..9ab758b 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <inttypes.h>
 
+#include "libavutil/avassert.h"
 #include "libavutil/common.h"
 #include "avcodec.h"
 #include "acelp_filters.h"
@@ -46,7 +47,7 @@ void ff_acelp_interpolate(int16_t* out, const int16_t* in,
 {
     int n, i;
 
-    assert(frac_pos >= 0 && frac_pos < precision);
+    av_assert1(frac_pos >= 0 && frac_pos < precision);
 
     for (n = 0; n < length; n++) {
         int idx = 0;