[FFmpeg-cvslog] avformat/mov: fix setting index of LCEVC enhancement stream
James Almer
git at videolan.org
Tue Sep 24 05:11:04 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at 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 <jamrial at 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++) {
More information about the ffmpeg-cvslog
mailing list