Fixed comment

Alpha is stored in the first byte of an integer
This commit is contained in:
Rik Heijdens 2016-08-24 16:27:23 +02:00
parent 8b2af12447
commit ce55587db4

View file

@ -224,7 +224,7 @@ public final class Eia608Decoder implements SubtitleDecoder {
Color.BLACK // Only used by Mid Row style changes, for PAC an value of 0x7 means italics. Color.BLACK // Only used by Mid Row style changes, for PAC an value of 0x7 means italics.
}; };
// Transparency is defined in the two left most bytes of an integer. // Transparency is defined in the first byte of an integer.
private static final int TRANSPARENCY_MASK = 0x80FFFFFF; private static final int TRANSPARENCY_MASK = 0x80FFFFFF;
private static final int STYLE_ITALIC = Typeface.ITALIC; private static final int STYLE_ITALIC = Typeface.ITALIC;