summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-19 16:44:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-19 17:13:45 +0200
commit0412e5187e6412a661c3f2f83b350ccf2f2fa5a2 (patch)
treecb359c7faeb18737317ccf5429a8f75d73724ef1 /libavfilter/avfilter.c
parent82ac6a66f986e3a391e07de50372b88edff0e191 (diff)
downloadffmpeg-0412e5187e6412a661c3f2f83b350ccf2f2fa5a2.tar.gz
lavfi/avfilter: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 7a395c22fe..5995cf6193 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;