ffmpeg | branch: master | Paul B Mahol <[email protected]> | 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);

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to