[FFmpeg-devel] [PATCH 21/24] lavfi/vf_mergeplanes: remove redundant assignment

Anton Khirnov anton at khirnov.net
Sat Oct 12 20:02:36 EEST 2024


It is already done in init.
---
 libavfilter/vf_mergeplanes.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_mergeplanes.c b/libavfilter/vf_mergeplanes.c
index 8c1537e0bc..9f7930d44b 100644
--- a/libavfilter/vf_mergeplanes.c
+++ b/libavfilter/vf_mergeplanes.c
@@ -127,7 +127,6 @@ static int query_formats(AVFilterContext *ctx)
     AVFilterFormats *formats = NULL;
     int i, ret;
 
-    s->outdesc = av_pix_fmt_desc_get(s->out_fmt);
     for (i = 0; av_pix_fmt_desc_get(i); i++) {
         const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
         if (desc->comp[0].depth == s->outdesc->comp[0].depth &&
-- 
2.43.0



More information about the ffmpeg-devel mailing list