Commit 4ab56667 authored by Rodger Combs's avatar Rodger Combs

lavf/mov: add support for sidx fragment indexes

Fixes trac #3842
parent cd847839
...@@ -103,6 +103,7 @@ typedef struct MOVSbgp { ...@@ -103,6 +103,7 @@ typedef struct MOVSbgp {
typedef struct MOVFragmentIndexItem { typedef struct MOVFragmentIndexItem {
int64_t moof_offset; int64_t moof_offset;
int64_t time; int64_t time;
int headers_read;
} MOVFragmentIndexItem; } MOVFragmentIndexItem;
typedef struct MOVFragmentIndex { typedef struct MOVFragmentIndex {
...@@ -197,6 +198,7 @@ typedef struct MOVContext { ...@@ -197,6 +198,7 @@ typedef struct MOVContext {
int has_looked_for_mfra; int has_looked_for_mfra;
MOVFragmentIndex** fragment_index_data; MOVFragmentIndex** fragment_index_data;
unsigned fragment_index_count; unsigned fragment_index_count;
int fragment_index_complete;
int atom_depth; int atom_depth;
unsigned int aax_mode; ///< 'aax' file has been detected unsigned int aax_mode; ///< 'aax' file has been detected
uint8_t file_key[20]; uint8_t file_key[20];
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment