This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 633cd9fecf186457f2aee9efc749825bf4ca7e19
Author:     James Almer <[email protected]>
AuthorDate: Mon Oct 5 18:06:23 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Mon Oct 12 10:36:26 2026 -0300

    avformat/mpegts: stop using deprecated AVStreamGroup fields
    
    Signed-off-by: James Almer <[email protected]>
---
 libavformat/mpegts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index a1b6065320..c013452e97 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2720,7 +2720,7 @@ static void create_stream_groups(MpegTSContext *ts, 
struct Program *prg)
             switch (grp->type) {
             case AV_STREAM_GROUP_PARAMS_LCEVC:
                 if (grp->streams[j]->codecpar->codec_id == AV_CODEC_ID_LCEVC)
-                    stg->params.layered_video->el_index = stg->nb_streams - 1;
+                    stg->params.layered_video->el_index = stg->nb_entries - 1;
                 break;
             case AV_STREAM_GROUP_PARAMS_DOLBY_VISION:
                 if (j == 0) {
@@ -2728,7 +2728,7 @@ static void create_stream_groups(MpegTSContext *ts, 
struct Program *prg)
                     stg->params.layered_video->height = 
grp->streams[j]->codecpar->height;
                 }
                 if (j == grp->nb_streams - 1)
-                    stg->params.layered_video->el_index = stg->nb_streams - 1;
+                    stg->params.layered_video->el_index = stg->nb_entries - 1;
                 break;
             default:
                 av_unreachable("Invalid group type!");

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to