diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-06 20:08:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-06 20:08:57 +0200 |
commit | 6e6dd9995bd1df9948225a82f44327f94516d3af (patch) | |
tree | 59900837dbcdde548cd9dd4fe79b58fa8a6748d3 | |
parent | 58e4adb6f7f71294a09422eef1717f70d36c146c (diff) | |
download | ffmpeg-streaming-6e6dd9995bd1df9948225a82f44327f94516d3af.zip ffmpeg-streaming-6e6dd9995bd1df9948225a82f44327f94516d3af.tar.gz |
resample_template: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswresample/resample_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c index 5d49374..0523add 100644 --- a/libswresample/resample_template.c +++ b/libswresample/resample_template.c @@ -93,7 +93,7 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int if(compensation_distance){ compensation_distance -= dst_index; - assert(compensation_distance > 0); + av_assert1(compensation_distance > 0); } if(update_ctx){ c->frac= frac; |