Commit 6e6dd999 authored by Michael Niedermayer's avatar Michael Niedermayer

resample_template: use av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 58e4adb6
...@@ -93,7 +93,7 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int ...@@ -93,7 +93,7 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int
if(compensation_distance){ if(compensation_distance){
compensation_distance -= dst_index; compensation_distance -= dst_index;
assert(compensation_distance > 0); av_assert1(compensation_distance > 0);
} }
if(update_ctx){ if(update_ctx){
c->frac= frac; c->frac= frac;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment