mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
avformat/mov: fix setting index of LCEVC enhancement stream
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
cc73bf02ba
commit
0dd6f1d5bf
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user