diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c index 5d49374357..0523add3aa 100644 --- a/libswresample/resample_template.c +++ b/libswresample/resample_template.c @@ -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;