acelp_filters: switch to avassert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
Michael Niedermayer 13 years ago
parent ceb8773e16
commit b5abebe164
  1. 3
      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;

Loading…
Cancel
Save