forked from FFmpeg/FFmpeg
acelp_filters: switch to avassert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ceb8773e16
commit
b5abebe164
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue