[FFmpeg-cvslog] swresample/resample: replace assert by av_assert
Michael Niedermayer
git at videolan.org
Sat Jun 14 16:39:04 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 14 14:41:01 2014 +0200| [4411928c64afffb75c5d7b8c914fbfb1116dc042] | committer: Michael Niedermayer
swresample/resample: replace assert by av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4411928c64afffb75c5d7b8c914fbfb1116dc042
---
libswresample/resample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/resample.c b/libswresample/resample.c
index 4b456c2..5b7a0f9 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;
}
More information about the ffmpeg-cvslog
mailing list