mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
swresample/resample: replace assert by av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a7dedd7bce
commit
4411928c64
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user