ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Sep 23 23:11:12 2024 -0300| [0dd6f1d5bf12f236da0fac1170df8a8c579d8aeb] | committer: James Almer
avformat/mov: fix setting index of LCEVC enhancement stream Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0dd6f1d5bf12f236da0fac1170df8a8c579d8aeb --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 56563be360..a2333ac1fd 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -10238,7 +10238,7 @@ static int mov_read_header(AVFormatContext *s) if (err < 0) return err; - stg->params.lcevc->lcevc_index = stg->nb_streams; + stg->params.lcevc->lcevc_index = stg->nb_streams - 1; } for (i = 0; i < s->nb_streams; i++) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".