diff options
author | Neil Birkbeck <neil.birkbeck@gmail.com> | 2015-12-03 16:40:24 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-05 04:34:24 +0100 |
commit | a16243a4aa5fffff9d4cb0f20ceab47c80a2c4dc (patch) | |
tree | 72794b6b319958377f22ded01e77cd23cfcaef0b /libavformat/isom.h | |
parent | 5b6c0fdb4316ef71ef151e8b0f9137fe64877589 (diff) | |
download | ffmpeg-a16243a4aa5fffff9d4cb0f20ceab47c80a2c4dc.tar.gz |
libavformat/mov.c: allow QuickTime metadata to come after traks
QuickTime metadata can come after trak data. Add indicator for which trak is being parsed (-1 if none) so that global metadata after the trak can be parsed.
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index a082e403b7..65a64d42b5 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -178,6 +178,7 @@ typedef struct MOVContext { int found_moov; ///< 'moov' atom has been found int found_mdat; ///< 'mdat' atom has been found int found_hdlr_mdta; ///< 'hdlr' atom with type 'mdta' has been found + int trak_index; ///< Index of the current 'trak' char **meta_keys; unsigned meta_keys_count; DVDemuxContext *dv_demux; |