mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-09 01:07:01 +02:00
lavfi/avfilter: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
82ac6a66f9
commit
0412e5187e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user