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

_______________________________________________
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