Commit 0412e518 authored by Michael Niedermayer's avatar Michael Niedermayer

lavfi/avfilter: use av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 82ac6a66
...@@ -139,7 +139,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, ...@@ -139,7 +139,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
link->srcpad = &src->output_pads[srcpad]; link->srcpad = &src->output_pads[srcpad];
link->dstpad = &dst->input_pads[dstpad]; link->dstpad = &dst->input_pads[dstpad];
link->type = src->output_pads[srcpad].type; 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; link->format = -1;
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment