summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 9d8646d2ea..fd236b985f 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -135,6 +135,8 @@ typedef struct MOVFragmentStreamInfo {
int64_t first_tfra_pts;
int64_t tfdt_dts;
int64_t next_trun_dts;
+ // Index of the first sample/trun in the fragment.
+ int index_base;
int index_entry;
MOVEncryptionIndex *encryption_index;
} MOVFragmentStreamInfo;
@@ -253,7 +255,6 @@ typedef struct MOVStreamContext {
struct {
struct AVAESCTR* aes_ctr;
struct AVAES *aes_ctx;
- unsigned int frag_index_entry_base;
unsigned int per_sample_iv_size; // Either 0, 8, or 16.
AVEncryptionInfo *default_encrypted_sample;
MOVEncryptionIndex *encryption_index;