From 4411928c64afffb75c5d7b8c914fbfb1116dc042 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 14 Jun 2014 14:41:01 +0200 Subject: swresample/resample: replace assert by av_assert Signed-off-by: Michael Niedermayer --- libswresample/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswresample/resample.c') 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; } -- cgit v1.2.3