13.07.2015 Views

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MetadataCountry List AtomCountry List AtomWhen one or more items must be identified as being suitable for more than one country, each list of countriesis stored in this otherwise optional atom. The country list atom is a full atom with an atom type of ‘ctry’.Each list starts with a two-byte count of the number of items in the list, and then each ISO 3166 coderepresenting countries in the list.The atom consists of a count of the number of lists, expressed as a 32-bit integer, and then these lists, appendedend-to-end. The country list atom contains the following fields:SizeA 32-bit unsigned integer that indicates the size in bytes of the atom structureTypeA 32-bit unsigned integer value set to 'ctry'VersionOne byte that is set to 0.FlagsThree bytes that are set to 0.Entry_countA 32-bit integer indicating the number of Country arrays to follow in this atom.Country_countA 16-bit integer indicating the number of Countries in the array.Country[Country_count]An array of 16-bit integers, defined according to the ISO 3166 definition of country codes.Note that:●●●Indexes into the country list atom are 1-based.Zero (0) is reserved and never used as an index.Currently, there is a limit of 255 countries that may be recorded in a country list atom.An example country list atom consisting of two country lists with two and three countries, respectively, isshown in Table 3-1 (page 133).Table 3-1Example country list atomField SizeFieldField ContentsComment32-bitatom_size26Size of this country list atom in bytes.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!