1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00

avformat/demux: stop using deprecated AVStreamGroup fields

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-10-05 18:20:10 -03:00
parent 89ebe00e43
commit 028cb6ab7d

View File

@@ -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;
}