summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2019-09-27 14:57:09 +0200
committerMatthieu Bouron <matthieu.bouron@gmail.com>2019-10-12 14:36:15 +0200
commit1921f866ecf27b8b2b2764c24450d85577ff96c7 (patch)
treee990bf92a5031b927b01d8f5e1fa26960b69df97 /libavformat/isom.h
parentdef04022f4a7058f99e669bfd978d431d79aec18 (diff)
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.
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h2
1 files changed, 2 insertions, 0 deletions
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;