Changes between Version 2 and Version 3 of Ticket #5071, comment 40


Ignore:
Timestamp:
Dec 7, 2015, 6:41:57 AM (4 years ago)
Author:
matsp888
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5071, comment 40

    v2 v3  
    33"Color table ID: A 16-bit integer that identifies which color table to use. If this field is set to –1, the default color table should be used for the specified depth. For all depths below 16 bits per pixel, this indicates a standard Macintosh color table for the specified depth. Depths of 16, 24, and 32 have no color table. If the color table ID is set to 0, a color table is contained within the sample description itself. The color table immediately follows the color table ID field in the sample description."
    44
    5 So, the proper value to use here would be 0xffff, but it seems that FFmpeg accepts 0x0008 just as well, when processing Apple Graphics without a palette *in QuickTime files*. In any case it uses the default Macintosh palette.
     5So, the proper value to use here would be 0xffff, but it seems that FFmpeg accepts 0x0008 just as well, when processing Apple Graphics without a palette *in QuickTime files*. Since there can only be two possible states of the color table (palette), included or not included, I suppose FFmpeg treats anything that isn't zero as 0xffff (no palette included). In any case it uses the default Macintosh palette properly.