[FFmpeg-cvslog] avformat/mov: Mark streams with a layered HEVC box as multilayer

Derek Buitenhuis git at videolan.org
Sun Jul 7 18:42:17 EEST 2024


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Jun 11 16:24:31 2024 +0100| [c4ebdd8d2d7b9b8302f3a15aa1b81199553d4ee6] | committer: James Almer

avformat/mov: Mark streams with a layered HEVC box as multilayer

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4ebdd8d2d7b9b8302f3a15aa1b81199553d4ee6
---

 libavformat/mov.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 258913549a..d862434d25 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;
 }



More information about the ffmpeg-cvslog mailing list