diff options
author | James Almer <jamrial@gmail.com> | 2024-09-23 23:11:12 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-09-23 23:11:12 -0300 |
commit | 0dd6f1d5bf12f236da0fac1170df8a8c579d8aeb (patch) | |
tree | 3345479c868fe36f923787e6c65d547fa69fcbbb | |
parent | cc73bf02ba99c862a7f5995bb693ef20caeda375 (diff) | |
download | ffmpeg-0dd6f1d5bf12f236da0fac1170df8a8c579d8aeb.tar.gz |
avformat/mov: fix setting index of LCEVC enhancement stream
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |