resample_template: use av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 18:08:57 +0000 (20:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 18:08:57 +0000 (20:08 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/resample_template.c

index 5d49374..0523add 100644 (file)
@@ -93,7 +93,7 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int
 
     if(compensation_distance){
         compensation_distance -= dst_index;
-        assert(compensation_distance > 0);
+        av_assert1(compensation_distance > 0);
     }
     if(update_ctx){
         c->frac= frac;