[FFmpeg-cvslog] avfilter/vf_extractplanes: fix regression

Paul B Mahol git at videolan.org
Sun Sep 12 18:07:04 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep 12 17:03:38 2021 +0200| [cd4e6e404b4afdb4facffc85450c1dcd9abdfc5a] | committer: Paul B Mahol

avfilter/vf_extractplanes: fix regression

Report & solution provided by Andreas Rheinhardt.

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

 libavfilter/vf_extractplanes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index 111a132cad..6e7931b3e3 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -387,6 +387,7 @@ static av_cold int init_alphaextract(AVFilterContext *ctx)
     ExtractPlanesContext *s = ctx->priv;
 
     s->requested_planes = PLANE_A;
+    s->map[0] = 3;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list