mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avformat/mov: fix setting index of LCEVC enhancement stream
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user