mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
fftools/ffmpeg_filter: drop a redundant check
fg_finalise_bindings() already checks that all filtergraph outputs are connected.
This commit is contained in:
parent
da80e0b077
commit
114cbaa316
@ -1472,11 +1472,6 @@ fail:
|
||||
static int configure_output_filter(FilterGraph *fg, AVFilterGraph *graph,
|
||||
OutputFilter *ofilter, AVFilterInOut *out)
|
||||
{
|
||||
if (!ofilter->ost) {
|
||||
av_log(fg, AV_LOG_FATAL, "Filter %s has an unconnected output\n", ofilter->name);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
switch (avfilter_pad_get_type(out->filter_ctx->output_pads, out->pad_idx)) {
|
||||
case AVMEDIA_TYPE_VIDEO: return configure_output_video_filter(fg, graph, ofilter, out);
|
||||
case AVMEDIA_TYPE_AUDIO: return configure_output_audio_filter(fg, graph, ofilter, out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user