Commit 03801cb90f for ffmpeg
commit 03801cb90fe1ad04e877b02490621eabc7da82f7
Author: James Almer <jamrial@gmail.com>
Date: Mon Oct 5 18:35:57 2026 -0300
avformat/matroskadec: stop using deprecated AVStreamGroup fields
Signed-off-by: James Almer <jamrial@gmail.com>
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index bceb4f7e17..b793f67fa0 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -3426,7 +3426,7 @@ static int matroska_parse_dovi_streams(AVFormatContext *s)
if (err < 0)
return err;
- stg->params.layered_video->el_index = stg->nb_streams - 1;
+ stg->params.layered_video->el_index = stg->nb_entries - 1;
stg->params.layered_video->width = bl_st->codecpar->width;
stg->params.layered_video->height = bl_st->codecpar->height;