mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
acelp_filters: switch to avassert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ceb8773e16
commit
b5abebe164
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
#include "libavutil/avassert.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "acelp_filters.h"
|
#include "acelp_filters.h"
|
||||||
@ -46,7 +47,7 @@ void ff_acelp_interpolate(int16_t* out, const int16_t* in,
|
|||||||
{
|
{
|
||||||
int n, i;
|
int n, i;
|
||||||
|
|
||||||
assert(frac_pos >= 0 && frac_pos < precision);
|
av_assert1(frac_pos >= 0 && frac_pos < precision);
|
||||||
|
|
||||||
for (n = 0; n < length; n++) {
|
for (n = 0; n < length; n++) {
|
||||||
int idx = 0;
|
int idx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user