This filter uses ff_set_common_formats_from_list().
Unified · Split
| @@ -230,11 +230,6 @@ static int config_output(AVFilterLink *outlink) · 229 unmodified lines | ||
| 230 | 230 | FFFrameSyncIn *in; |
| 231 | 231 | int ret; |
| 232 | 232 | |
| 233 | − if (base->format != dark->format || | |
| 234 | − base->format != bright->format) { | |
| 235 | − av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); | |
| 236 | − return AVERROR(EINVAL); | |
| 237 | − } | |
| 238 | 233 | if (base->w != dark->w || base->h != dark->h || |
| 239 | 234 | base->w != bright->w || base->h != bright->h) { |
| 240 | 235 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |