diff options
Diffstat (limited to 'libswresample/resample.c')
-rw-r--r-- | libswresample/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/resample.c b/libswresample/resample.c index 4b456c27cd..5b7a0f9f23 100644 --- a/libswresample/resample.c +++ b/libswresample/resample.c @@ -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; } |