diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-10-18 21:32:06 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-10-18 21:34:08 +0200 |
commit | 374d6469300f4d5e8b13bef2c87f888cdfdb818f (patch) | |
tree | 17899bb244b8d1ebcd3c624d20985344d4311993 | |
parent | 025ae145de68c5b6eeed686eb74541c287fd3dde (diff) | |
download | ffmpeg-374d6469300f4d5e8b13bef2c87f888cdfdb818f.tar.gz |
avfilter/vf_fftdnoiz: fix missing funcionality
-rw-r--r-- | libavfilter/vf_fftdnoiz.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/vf_fftdnoiz.c b/libavfilter/vf_fftdnoiz.c index 22b4172606..b27b4a822b 100644 --- a/libavfilter/vf_fftdnoiz.c +++ b/libavfilter/vf_fftdnoiz.c @@ -583,6 +583,9 @@ static int export_pass(AVFilterContext *ctx, void *arg, for (int plane = 0; plane < s->nb_planes; plane++) { PlaneContext *p = &s->planes[plane]; + if (!((1 << plane) & s->planesf) || ctx->is_disabled) + continue; + export_plane(s, out->data[plane], out->linesize[plane], p->buffer[CURRENT], p->buffer_linesize, plane, jobnr, nb_jobs); |