[FFmpeg-devel] [PATCH 03/11] avformat/mov: Mark streams with a layered HEVC box as multilayer
James Almer
jamrial at gmail.com
Thu Jul 4 00:26:38 EEST 2024
From: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/mov.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 30e8086855..b27666f50f 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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;
}
--
2.45.2
More information about the ffmpeg-devel
mailing list