[FFmpeg-cvslog] resample_template: use av_assert
Michael Niedermayer
git at videolan.org
Wed Jun 6 20:18:40 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 6 20:08:57 2012 +0200| [6e6dd9995bd1df9948225a82f44327f94516d3af] | committer: Michael Niedermayer
resample_template: use av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6e6dd9995bd1df9948225a82f44327f94516d3af
---
libswresample/resample_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list