mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/mov: Mark streams with a layered HEVC box as multilayer
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
c657c694e3
commit
c4ebdd8d2d
@ -8200,6 +8200,8 @@ static int mov_read_lhvc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
st->codecpar->extradata[22] += num_arrays;
|
||||
memcpy(st->codecpar->extradata + old_size, buf + 6, atom.size + 8);
|
||||
|
||||
st->disposition |= AV_DISPOSITION_MULTILAYER;
|
||||
|
||||
av_free(buf);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user