X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fisom.h;h=abcacab25a59449b6f5ada49a8f732fa1bef8135;hb=a63496cc882428aefafc85d2f60e0908b020bffe;hp=12cefc9ade27aa9b7914225bafff42a02ca4a5ca;hpb=a956164e1eb3418922cae949f02ad4035f013213;p=ffmpeg diff --git a/libavformat/isom.h b/libavformat/isom.h index 12cefc9ade2..abcacab25a5 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -121,6 +121,11 @@ typedef struct MOVFragmentIndex { MOVFragmentIndexItem *items; } MOVFragmentIndex; +typedef struct MOVIndexRange { + int64_t start; + int64_t end; +} MOVIndexRange; + typedef struct MOVStreamContext { AVIOContext *pb; int pb_is_copied; @@ -152,6 +157,9 @@ typedef struct MOVStreamContext { int time_scale; int64_t time_offset; ///< time offset of the edit list entries int current_sample; + int64_t current_index; + MOVIndexRange* index_ranges; + MOVIndexRange* current_index_range; unsigned int bytes_per_frame; unsigned int samples_per_frame; int dv_audio_container; @@ -198,6 +206,7 @@ typedef struct MOVStreamContext { uint8_t auxiliary_info_default_size; uint8_t* auxiliary_info_sizes; size_t auxiliary_info_sizes_count; + int64_t auxiliary_info_index; struct AVAESCTR* aes_ctr; } cenc; } MOVStreamContext;