[FFmpeg-cvslog] acelp_filters: switch to avassert

Michael Niedermayer git at videolan.org
Sat Aug 18 05:06:31 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 18 05:02:08 2012 +0200| [b5abebe164f82b9530de0fb312575124eee3474d] | committer: Michael Niedermayer

acelp_filters: switch to avassert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b5abebe164f82b9530de0fb312575124eee3474d
---

 libavcodec/acelp_filters.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/acelp_filters.c b/libavcodec/acelp_filters.c
index 5260d0d..9ab758b 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;



More information about the ffmpeg-cvslog mailing list