[FFmpeg-cvslog] lavfi/avfilter: use av_assert
Michael Niedermayer
git at videolan.org
Tue Jun 19 17:25:32 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 19 16:44:45 2012 +0200| [0412e5187e6412a661c3f2f83b350ccf2f2fa5a2] | committer: Michael Niedermayer
lavfi/avfilter: use av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0412e5187e6412a661c3f2f83b350ccf2f2fa5a2
---
libavfilter/avfilter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 7a395c2..5995cf6 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -139,7 +139,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
link->srcpad = &src->output_pads[srcpad];
link->dstpad = &dst->input_pads[dstpad];
link->type = src->output_pads[srcpad].type;
- assert(PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1);
+ av_assert0(PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1);
link->format = -1;
return 0;
More information about the ffmpeg-cvslog
mailing list