mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02: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