Commit 028cb6ab7d for ffmpeg

commit 028cb6ab7d84abcc9e63a7486bc08942eccd79bc
Author: James Almer <jamrial@gmail.com>
Date:   Mon Oct 5 18:20:10 2026 -0300

    avformat/demux: stop using deprecated AVStreamGroup fields

    Signed-off-by: James Almer <jamrial@gmail.com>

diff --git a/libavformat/demux.c b/libavformat/demux.c
index bc74b250f3..cfab580fb6 100644
--- a/libavformat/demux.c
+++ b/libavformat/demux.c
@@ -3209,7 +3209,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
         lcevc = stg->params.layered_video;
         if (lcevc->width && lcevc->height)
             continue;
-        st = stg->streams[lcevc->el_index];
+        av_assert0(stg->entries[lcevc->el_index]->type == AV_STREAM_GROUP_ENTRY_STREAM);
+        st = stg->entries[lcevc->el_index]->stream;
         lcevc->width  = st->codecpar->width;
         lcevc->height = st->codecpar->height;
     }