Commit 1c4cd0e2e9 for ffmpeg

commit 1c4cd0e2e985f76789cdae2cbb8673313712114a
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Tue Sep 29 04:54:49 2026 +0200

    avfilter/vf_showinfo: describe the frame it received, not the link

    Found during triage of the security report RqgTntCAW2qN.

diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index 21cde369f5..9aec0b6004 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -765,7 +765,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
     FilterLink *inl = ff_filter_link(inlink);
     AVFilterContext *ctx = inlink->dst;
     ShowInfoContext *s = ctx->priv;
-    const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
+    const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
     uint32_t plane_checksum[4] = {0}, checksum = 0;
     int64_t sum[4] = {0}, sum2[4] = {0};
     int32_t pixelcount[4] = {0};
@@ -775,7 +775,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)

     for (plane = 0; plane < 4 && s->calculate_checksums && frame->data[plane] && frame->linesize[plane]; plane++) {
         uint8_t *data = frame->data[plane];
-        int h = plane == 1 || plane == 2 ? AV_CEIL_RSHIFT(inlink->h, vsub) : inlink->h;
+        int h = plane == 1 || plane == 2 ? AV_CEIL_RSHIFT(frame->height, vsub) : frame->height;
         int linesize = av_image_get_linesize(frame->format, frame->width, plane);
         int width = linesize >> (bitdepth > 8);

@@ -975,4 +975,5 @@ const FFFilter ff_vf_showinfo = {
     FILTER_INPUTS(avfilter_vf_showinfo_inputs),
     FILTER_OUTPUTS(avfilter_vf_showinfo_outputs),
     .priv_size   = sizeof(ShowInfoContext),
+    .flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
 };