aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-18 05:02:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-18 05:02:08 +0200
commitb5abebe164f82b9530de0fb312575124eee3474d (patch)
treec018730a91299dc51d6c56d4f82802987ae00007
parentceb8773e168316b55c906e72650e1d3f197acebf (diff)
downloadffmpeg-b5abebe164f82b9530de0fb312575124eee3474d.tar.gz
acelp_filters: switch to avassert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/acelp_filters.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/acelp_filters.c b/libavcodec/acelp_filters.c
index 5260d0dbc5..9ab758b977 100644
--- a/libavcodec/acelp_filters.c
+++ b/libavcodec/acelp_filters.c
@@ -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;