From 1921f866ecf27b8b2b2764c24450d85577ff96c7 Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Fri, 27 Sep 2019 14:57:09 +0200 Subject: avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly Allows the creation of the sdtp atom while remuxing MP4 to MP4. This atom is required by Apple devices (iPhone, Apple TV) in order to accept 2160p medias. --- libavformat/isom.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/isom.h') diff --git a/libavformat/isom.h b/libavformat/isom.h index 69452cae8e..4943b80ccf 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -163,6 +163,8 @@ typedef struct MOVStreamContext { int64_t *chunk_offsets; unsigned int stts_count; MOVStts *stts_data; + unsigned int sdtp_count; + uint8_t *sdtp_data; unsigned int ctts_count; unsigned int ctts_allocated_size; MOVStts *ctts_data; -- cgit v1.2.1