summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-06 20:08:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-06 20:08:57 +0200
commit6e6dd9995bd1df9948225a82f44327f94516d3af (patch)
tree59900837dbcdde548cd9dd4fe79b58fa8a6748d3
parent58e4adb6f7f71294a09422eef1717f70d36c146c (diff)
downloadffmpeg-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.c2
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;
OpenPOWER on IntegriCloud