Commit 4411928c authored by Michael Niedermayer's avatar Michael Niedermayer

swresample/resample: replace assert by av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a7dedd7b
......@@ -447,7 +447,7 @@ static int invert_initial_buffer(ResampleContext *c, AudioData *dst, const Audio
*out_idx = c->filter_length + (c->index >> c->phase_shift);
*out_sz = 1 + c->filter_length * 2 - *out_idx;
c->index &= c->phase_mask;
assert(res > 0);
av_assert1(res > 0);
return res;
}
......
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