[FFmpeg-cvslog] avfilter/vf_fftdnoiz: fix missing funcionality

Paul B Mahol git at videolan.org
Mon Oct 18 22:35:44 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Oct 18 21:32:06 2021 +0200| [374d6469300f4d5e8b13bef2c87f888cdfdb818f] | committer: Paul B Mahol

avfilter/vf_fftdnoiz: fix missing funcionality

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=374d6469300f4d5e8b13bef2c87f888cdfdb818f
---

 libavfilter/vf_fftdnoiz.c | 3 +++
 1 file changed, 3 insertions(+)

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);



More information about the ffmpeg-cvslog mailing list