mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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->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;
|
||||
|
Loading…
Reference in New Issue
Block a user