Browse Source

acelp_filters: switch to avassert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
b5abebe164
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/acelp_filters.c

+ 2
- 1
libavcodec/acelp_filters.c View File

@@ -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…
Cancel
Save