|
|
@ -86,7 +86,7 @@ typedef struct { |
|
|
|
|
|
|
|
|
|
|
|
typedef struct MOVStreamContext { |
|
|
|
typedef struct MOVStreamContext { |
|
|
|
ByteIOContext *pb; |
|
|
|
ByteIOContext *pb; |
|
|
|
int ffindex; /* the ffmpeg stream id */ |
|
|
|
int ffindex; ///< AVStream index
|
|
|
|
int next_chunk; |
|
|
|
int next_chunk; |
|
|
|
unsigned int chunk_count; |
|
|
|
unsigned int chunk_count; |
|
|
|
int64_t *chunk_offsets; |
|
|
|
int64_t *chunk_offsets; |
|
|
@ -124,12 +124,12 @@ typedef struct MOVStreamContext { |
|
|
|
typedef struct MOVContext { |
|
|
|
typedef struct MOVContext { |
|
|
|
AVFormatContext *fc; |
|
|
|
AVFormatContext *fc; |
|
|
|
int time_scale; |
|
|
|
int time_scale; |
|
|
|
int64_t duration; /* duration of the longest track */ |
|
|
|
int64_t duration; ///< duration of the longest track
|
|
|
|
int found_moov; /* when both 'moov' and 'mdat' sections has been found */ |
|
|
|
int found_moov; ///< 'moov' atom has been found
|
|
|
|
int found_mdat; /* we suppose we have enough data to read the file */ |
|
|
|
int found_mdat; ///< 'mdat' atom has been found
|
|
|
|
DVDemuxContext *dv_demux; |
|
|
|
DVDemuxContext *dv_demux; |
|
|
|
AVFormatContext *dv_fctx; |
|
|
|
AVFormatContext *dv_fctx; |
|
|
|
int isom; /* 1 if file is ISO Media (mp4/3gp) */ |
|
|
|
int isom; ///< 1 if file is ISO Media (mp4/3gp)
|
|
|
|
MOVFragment fragment; ///< current fragment in moof atom
|
|
|
|
MOVFragment fragment; ///< current fragment in moof atom
|
|
|
|
MOVTrackExt *trex_data; |
|
|
|
MOVTrackExt *trex_data; |
|
|
|
unsigned trex_count; |
|
|
|
unsigned trex_count; |
|
|
|