Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-14 16:41:01 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-14 18:33:09 +0400
commit4411928c64afffb75c5d7b8c914fbfb1116dc042 (patch)
tree0ee700fe8789490c97fcc7f42b99768cf8cab8cc /libswresample/resample.c
parenta7dedd7bce0b53d3682403ad3baac3b17ff46c43 (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.c2
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;
}