diff mbox series

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

Message ID 20241012170239.9170-21-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,01/24] lavfi/vf_frei0r: switch to query_func2() | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Anton Khirnov Oct. 12, 2024, 5:02 p.m. UTC
It is already done in init.
---
 libavfilter/vf_mergeplanes.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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 &&