diff options
author | Michael Niedermayer | 2014-06-14 14:41:01 +0200 |
---|---|---|
committer | Michael Niedermayer | 2014-06-14 16:33:09 +0200 |
commit | 4411928c64afffb75c5d7b8c914fbfb1116dc042 (patch) | |
tree | 0ee700fe8789490c97fcc7f42b99768cf8cab8cc /libswresample/resample.c | |
parent | a7dedd7bce0b53d3682403ad3baac3b17ff46c43 (diff) |
swresample/resample: replace assert by av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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; } |